Added:
Changed:
- /trap upgrade command - Trap owners can upgrade their traps via this command (Only purchasing trap health option exists and you can disable upgrades on config.yml)
Note:
- Icons of the menu of trap list has been changed.
- Chest: Traps claimed and being not on sale.
- Emerald: Traps Sold by Server
- Gold Ingot: Traps Sold by a Player
- Barrier: Traps resricted to be claimed (Does not matter if they are claimed before)
- In trap list, if a trap is not claimed and on sale, you can purchase it by clicking.
- You must delete your language file.
Added:
- Trap Commands GUI - When you hit /trap command, you will see gui where buttons standing for all commands.
- /trap sell <price> command - Now, trap owners can sell their traps (You can disable it on config.yml)
- /trap delist command - Trap owners can withdraw their traps from sale.
- /trap info <trapname> command - You can view informations about traps.
Note:
- Some changes have been done in database. Therefore, make sure that your database includes "onSale" column in "Traps" table.
- You must delete your language file.
- BEWARE that trap owner sale differs from server sales. If a trap has no owner and it is not restricted to buy it, that trap will be claimable by everyone who has no trap; however, if a trap has an owner, it can be claimed only when the owner puts it on sale, and server owners can only change its claimable status.
Added:
Improved:
- Option for only blocking friendly fire if the event is in trap world - If you disable it, all friendly fires will be blocked in every worlds. If you have another worlds where you don't want to block friendly fire, you should enable it.
Fixed:
- Optimized Event Listeners.
- After v1.2.2, when a new database was created, you would have "Database Disk Image is malformed" issue.
Added:
Improved:
- GUI for trap lists - When players type /trap list command, they will see a gui which shows the list of traps and they can teleport to traps if they have permission to do (You can disable it on config.yml)
- GUI for member lists - When players type /trap memberlist command, they will see a gui which shows the list of members of their traps and theirs role.
- GUI for trust lists - When players type /trap trustlist command, they will see a gui which shows the list of trusts of their traps.
- Option for trap list - You can choose CHAT type or GUI type for /trap list command on config.yml.
Note:
- Optimized ActionBar System.
- You must delete your language file.
Added:
Note:
- %TrapPvP_trap_<playername>% placeholder - It will return the name of the player's trap.
- /trap list command - You can see the list of traps in server with details.
- You have to delete your language file.
Added:
Fixed:
- %TrapPvP_cost_<trapname>% placeholder - It will return the claim cost of the trap.
Note:
- ActionBar was not working. (CraftBukkit users can not use this feature)
- CraftBukkit users can not use ActionBar, and support for CraftBukkit is limited (Even you can not use the plugin with CraftBukkit)
Added:
Fixed:
- Bank System:
- Players can now deposit money to the bank of their traps with /trap deposit command.
- Trap owners can also withdraw money from the bank of their traps with /trap withdraw command.
- When a trap get dismissed, it's bank also will be reset.
- UpKeep System:
- To hold the ownership of a trap, traps must have the amount you specified in config. If a trap does not have enough money to pay upkeep fee, that trap will be dismissed.
- You can set a time (ex: "12:00") or disable this feature by writing "0" to upkeep fee.
- Placeholder for bank (%TrapPvP_bank_<trapname>%) has been added.
- /trap asetbank command - Admins can change the value of a trap's bank.
Note:
- When a trap was created, some database values weren't created.
- Some changes have been done in database. Make sure your that your database file has "bank" column in "Traps" table.
- You must delete your language file.
Added:
Fixed:
- /trap asetcost command - Now, you can change cost of each trap (When a trap is created, it's cost will be the value in the config initially)
- /trap asetclaimable command - Now, you can toggle whether a trap can be claimed.
- /trap asetowner command - You can change the owner of traps.
Improved:
- An issue where an error was thrown on the console when a member took the ownership of a trap if he is not online.
Note:
- Database command execution and handling have been improved for better performance and reliability.
- Some trap names could cause an issue in database (illegal characters are banned)
- Some changes have been done in database. Make sure your database file has "cost" and "claimable" columns in "Traps" table.
- Initially, the cost of traps will be the value in the config.
- You must delete your language file.
