- Added the ability to put a randombox. you don't need Redstone PvP Randombox+ plugin now. and this one comes with more features
- Added the ability to add a redstoneconverter
- You must delete the old config files [options.yml & messages.yml] to generate a new one
OR update them manually if you know what are you doing.
- Fixed "/rputils reload" only reloads config.yml
- Added "/rputils resetdp" if you want to set the drop party cooldown to 0
so you can use it again
Here is the latest options.yml including the randombox {in case you want to update it manually} :
Code (YAML):
#to rotate in game itemframes you must be in creative mode and in sneaking state usegoldconverter-sound: NOTE_PIANO
usegoldconverter-pitch-1: 10
usegoldconverter-pitch-2: 10
goldconverter-gold-amount: 9
useredstoneconverter-sound: NOTE_STICKS
useredstoneconverter-pitch-1: 10
useredstoneconverter-pitch-2: 10
redstoneconverter-redstone-amount: 9
useemeraldconverter-sound: NOTE_PLING
useemeraldconverter-pitch-1: 10
useemeraldconverter-pitch-2: 10
emeraldconverter-emerald-amount: 9
repairing-sound: DOOR_CLOSE
repairing-pitch-1: 10
repairing-pitch-2: 10
repairing-amountneeded: 10
repairing-item: GOLD_INGOT
expsign-item: GOLD_INGOT
expsign-neededgoldamount: 1
expsign-exptype: AMOUNT
expsign-experienceamount: 250
droppartybegin-broadcast-sound: true
droppartybegin-broadcast-message: true
droppartybegin-sound: LEVEL_UP
dropparty-neededplayers: 1
dropparty-cooldown: 600
dropparty-droppingtime: 20
#supports many types: #simple= #<item> <amount> #simple with data= #<item> <amount> data:<data> #example: WOOL 32 data:1 #enchantments= #<item> <amount> enchantments:<enchantment>#<level>,<enchantment>#<level> #example: DIAMOND_SWORD 1 enchantments:sharpness#3,fireaspect#2 #name & lore= #example: DIAMOND_AXE 1 name:&4Nice_Axe lore:&1Line1,&2Line2,&3Line_3_with_Spaces,&4Line%us%4%us%with%us%underscores #advanced type= #example: DIAMOND_SWORD 1 name:&6GoodSword enchantments:sharpness#4,knockback#2 lore:&eA_Strong_Sword itemflags:HIDE_ENCHANTS,HIDE_ATTRIBUTES dropparty-possible-rewards: - GOLD_INGOT 64
- EMERALD 1
- GOLD_INGOT 32
repairable-items: - DIAMOND_SWORD
- IRON_SWORD
- GOLD_SWORD
- WOODEN_SWORD
- STONE_SWORD
- DIAMOND_AXE
- DIAMOND_PICKAXE
- IRON_AXE
- STONE_AXE
- BOW
- DIAMOND_HELMET
- DIAMOND_CHESTPLATE
- DIAMOND_LEGGINGS
- DIAMOND_BOOTS
- IRON_HELMET
- IRON_CHESTPLATE
- IRON_LEGGINGS
- IRON_BOOTS
frame-sound: DOOR_OPEN
frame-pitch-1: 10
frame-pitch-2: 10
randombox-sound: GHAST_SCREAM
#volume randombox-pitch-1: 10
#the sound will change a bit when you change this randombox-pitch-2: 10
#the item that you must use to open the randombox randombox-item: GOLD_INGOT
#the shuffle time by seconds randombox-shuffle-time: 5
randombox-cost-permissions:
32:
permission: randombox.default
16:
permission: randombox.vip
randombox-rewards:
'0': #the item that will show above the randombox when you use it display-item: DIAMOND_SWORD
#the item that you will get item: DIAMOND_SWORD
#the amount that you will see above the randombox display-amount: 1
#the real amount of the item you will get amount: 1
#the fake data display-data: 0
#the real data aka durability data: 0
#keep it empty like this "" if you don't want it #the item name which will be displayed when you hold it in your hand name: "&eDiamond Sword" lore: #you can put any other plugin's enchantments by writing a lore line with enchant name and the level -
"&7Wither III" #this not necessary. only if you want the item to be glowing when it appears above the randombox display-enchantments: -
"unbreaking 1" #the real enchantments the item has enchantments: -
"sharpness 3" -
"fireaspect 1" #item flags such as HIDE_ENCHANTS flags: [] #commands that will be executed when you get the item commands: -
"say Hi %player%" broadcast: -
"&c%player% &6won a rare diamond sword" msg: -
"&a&lCongratulation!" '1':
display-item: GOLD_BLOCK
item: GOLD_BLOCK
display-amount: 1
amount: 3
display-data: 0
data: 0
name: "" lore: [] display-enchantments: [] enchantments: [] flags: [] commands: [] broadcast: [] msg: -
"&eYou got 3x gold block"
Latest messages.yml:
Code (YAML):
creategoldconverter: '&6Created &egold converter &6at location &7
[>>
] &d
%location%' createemeraldconverter: '&6Created &aemerald converter &6at location &7
[>>
] &d
%location%' createredstoneconverter: '&6Created &4redstone converter &6at location &7
[>>
] &d
%location%' createdropparty: '&6Created &bDrop party block &6at location &7
[>>
] &d
%location%' createrepairanvil: '&6Created &7Repairing Anvil &6at location &7
[>>
] &d
%location%' createframe: '&6Created &3ItemFrame &6at location &7
[>>
] &d
%location%' createexpsign: '&6Created &2Exp Sign &6at location &7
[>>
] &d
%location%' createrandombox: '&6Created &3Random box &6at location &7
[>>
] &d
%location%' notenoughgold: '&6You need +9 gold ingot to convert to blocks'
notenoughemerald: '&6You need +9 emerald to convert to blocks'
notenoughredstone: '&6You need +9 redstone to convert to blocks'
notenoughrepairitems: '&6You do not have enough amount of gold'
notenoughgoldforexp: '&2You need at least 1 gold to get some experience'
notrepairable: '&cYou are not allowed to repair this item'
repairing: '&0&l&oRepairing'
maxeditem: '&cThe item you are holding is already repaired'
notenoughplayers: '&3
%totalneededplayers% &6Players Needed to start a drop party' droppartybegin: '&f&oA &a&oDropParty &f&ostarted &a&oat &f&ospawn'
droppartyison: '&6A Drop Party is already running'
droppartycooldown: '&3Please wait &c
%seconds% &3seconds for another drop party' configreload: '&aConfig successfully reloaded.'
frametake: '&3&oYou have got an item'
commandnopermission: '&cYou do not have permission to execute this command'
usenopermission: '&cYou do not have permission to interact with the
%useditem%' randomboxuse: "&aShuffling..." notenoughrandombox: "&cYou need &6%amount% &cgold to use the randombox" randomboxinuse: "&cSomeone is currently using this randombox"
Latest config.yml (no need to update it manually):