Dungeons

Permission: rpg.dungeon.admin
Commands
/rpgD represents the beginning of any dungeon command. If there are no arguments all other commands will be shown.
All commands in the english lanugage:
Important: The dungeon name is case sensitive!
- /rpgD generate <Name> Creates a new dungeon.
- /rpgD pos1 <Dungeon> Sets the first Corner at the current position (just like WorldEdit).
- /rpgD pos2 <Dungeon> Sets the second Corner at the current position (just like WorldEdit).
- /rpgD setJoin <Dungeon> Sets the position where the player enters the dungeon.
- /rpgD setLeave <Dungeon> Sets the position where the player leaves the dungeon.
- /rpgD remove <Dungeon> Removes the dungeon.
- /rpgD pause <Dungeon> Pauses the dungeon.
- /rpgD continue <Dungeon> Continues the dungeon.
- /rpgD setMaxPlayers <amount> <dungeon> Set the max amount of players that could stay in the same dungeon at the same time.
- /rpgD forbidden <id> <dungeon> Adds a forbidden item to the blacklist.
- /rpgD reset <Dungeon> Resets the amount of players.
- /rpgD kick <Player> Kicks a Player from the dungeon.
- /rpgD forceJoin <Player> <Dungeon> Forces the player to join the dungeon.
- /rpgD giveItem <Dungeon> Gives you the specified dungeon-trophy (see below)
- /rpgD info <Dungeon> Shows all relevant information.
Join- and leave signs
The signs are protected. You need to have the permission "rpg.dungeon.admin" to create them.
JoinSign

If the player has a forbidden item in his inventory he will not be able to join.
LeaveSign

The Dungeon Shop
After every finished dungeon you get a specified dungeon-trophy. You can trade these items with the DungeonShop in order to get new and rare items. You open the DungeonShop if you interact with the Sign. An Inventory will be opened and will automatically contain a description how to use the DungeonShop. All items that a player could receive are configurable (see Configuration).
You can spend them directly or collect them and buy something rare!
DungeonShop

The Loot Block
In every Dungeon there should be a loot block which allows players to get their reward. Those loot blocks are made of 2 different Blocks which were build in the dungeon world. You need the permission "rpg.dungeon.admin" to create such blocks. If a player interacts with one of these blocks and if the player is in a dungeon, he will receive random loot. After this progress he will be kicked out of the dungeon.
Protection
In order to avoid any kind of abuse every player in a dungeon is marked in the config ("Dungeons.yml") If he/she is not marked there, he/she will no receive any loot. The only way to get in this list is to join a dungeon. After the player leaves the dungeon, he/she will be deleted out of the config.
How to configure the LootBlock and Loot see Configuration
Dungeon Regions
If a player without the permission "rpg.dungeon.admin" leaves the dungeon region he will be teleported to the start position. This will keep players in the dungeons.
How to create a dungeon
- First you need to build the dungeon yourself.
- Now you generate a new dungeon (see above).
- Set the corners and the join- and leave position.
- Create the dungeon signs (see above).
- All other configuration is optional.
- Type /rpgD info <YourDungeon> in order to show the info.
- "Fehlerstatus" should now be: "Keine Fehlerquellen gefunden!":
- Create a new loot block.
- Define loot items and you are done!