You can spawn block with money or decide to take item in inventory. Video
Commands /blockwand give <PlayerName> - blockwand.give /blocwand reload - blockwand.reload
Dependencies Vault + Economy plugin
Files
Code (YAML):
#Default wand when you give it with command Default wand:
Block: STONE
Cost: 1
# Which block should be block selector gui (Maximum 54). # Format: <BLOCKNAME>,<PRICE> Block list gui: - STONE,1
- COBBLESTONE,2
- OAK_LOG,3
- DIRT,4
- GRASS_BLOCK,5
- OAK_PLANKS,6
- DIAMOND_BLOCK,7
- GRAVEL,8
- SAND,9
# Should block take in inventory Take block in inventory: false
Code (YAML):
# Here you can modified message No Permissions: '&4You don''t have permission to execute this comamnd.'
Player not found: Errors, this player is not found.
Successful reload: '&cYou have successful reload the config.'
Not enough block: '&cYou don''t have enough item in your inventory to do that. You need 1
%Block%' Not enough money: '&cYou don''t have enough money. You need
%Money%$' Block selector Item lore item: '&eTake block in your inventory.'
Block selector Item lore money: '&7Cost per block placed
: &e%Money%$' Block wand name: '&aInfinite Block Wand'
Block wand lore item ability: '&6Item Ability
: Place a stone block &e&lRIGHT CLICK'
Block wand lore item inventory: '&eTake block in your inventory.'
Block wand lore item cost block: '&7Cost per block:&6
%Price% &7$' Block wand lore current block: '&7Current block&6
%Item%'