Plotmine
Needed plugins:
- WorldEdit
- permissionsEx : because the plugin automatically adds the permissions note: plotmine.use to the player the plotmine is created for.
Discription:
This plugin lets you create a plotmine for a player. This plugin is made mainly for prison servers. Players can donate or win a plotmine, the owner or someone with permissions can set it up in for instance the plotworld and the player has then acces to his own plotmine. By typing /plotmine a GUI will pop up and the player can chose a block. The messages and the plotmine contents are very customizable. This plugin relies on WorldEdit, for selecting a region for the plotmine.
Commands and permissions:
Command:
/plotmine
- aliases: [pm]
Plotmine.use
/plotmine - Opens the plotmine GUI
Plotmine.admin
/plotmine help - Opens op the help menu
/plotmine reload - Reloads all the files
/plotmine create <playername> - Creates a plotmine for the entered player
/plotmine remove <playername> - Removes a plotmine from the entered player
Features:
- Almost all the messages are customizable
- You can chose which size the plotmine has, by simply selecting a bigger or smaller region, but only one plotmine per player is currently allowed
- Plotmine contents are customizable
- Place plotmines in multiple worlds
Future:
- The plugin is compatible with higher versions, but be aware that this plugin is still made for 1.8. So blocks that were introduced after 1.8 don't work!
- Add features based on user tips
config.yml
#The prefix before every message
Prefix: '&7[&5Plotmine&7] '
#Messages
DontHavePermissionMessage: '&cYou do not have permissions to execute this command!'
UnknownCommandMessage: '&fUnknown command. Type "/help" for help.'
SetBlockMessage: '&fMine set to: &b<CurrentBlock>'
ResetMineMessage: '&fYour mine has been reset'
PlotmineCreateMessage: '&fPlotmine for &b<Player> &fhas been created!'
PlotmineCreateMessage2: '&fYour plotmine has been created, type &a/plotmine &fto get started!'
PlotmineRemoveMessage: '&b<Player>''s &fplotmine has been removed!'
DontHavePlotmineMessage: '&cSorry, but you currently don''t have a plotmine!'
DontHavePlotmineMessage2: '&b<player> &ccurrently doesn''t have a plotmine!'
AlreadyHasPlotmineMessage: '&b<player> &calready has a plotmine!'
PlayerMustBeOnline: '&cThe player must be online!'
plotmine.yml
Plotmine:
NameGui: '&7[&5Plotmine&7]'
InventoryRows: 1
Contents:
Reset:
Block:
Material: RESET
Damage: 0
Displayitem:
Material: REDSTONE
Damage: 0
Amount: 1
Displayname: '&cClick to reset your mine'
Lore: '&bCurrent block: &6<CurrentBlock>'
Inventoryslot: 8
Stone:
Block:
Material: STONE
Damage: 0
Displayitem:
Material: STONE
Damage: 0
Amount: 1
Displayname: '&7Stone'
Lore: '&cClick to select'
Inventoryslot: 0
Coal_ore:
Block:
Material: COAL_ORE
Damage: 0
Displayitem:
Material: COAL_ORE
Damage: 0
Amount: 1
Displayname: '&8Coal ore'
Lore: '&cClick to select'
Inventoryslot: 1
Iron_ore:
Block:
Material: IRON_ORE
Damage: 0
Displayitem:
Material: IRON_ORE
Damage: 0
Amount: 1
Displayname: '&8Iron ore'
Lore: '&cClick to select'
Inventoryslot: 2
Comments