Note: If your arenas are not loading (or you are getting chunk errors), you'll need to update your game worlds.
Start the server with the --forceUpgrade argument line
Let everything load, it will take a while
Finish each of your arenas again (/splegg finish <arena>), this will erase the world arena from the maps folder and copy the current new loaded and updated ones.
This will be very resource heavy, recommend doing with the server on maintenance.
After that, you can remove the --forceUpgrade line.
Per request, a hologram plugin is no longer required for the plugin to start.
If this case, powerups will no longer have holograms
If you want to update to 1.21 and still want holograms wait for DecentHolograms 1.21 update.
Fixed ActionBar not working in some versions.
Testing some other small performance improvements.
Fixed a few problems with Player Interact that can cause performance problems.
Note, to avoid excessive config access, the option Options.Allow-Players-To-Break-Blocks will no longer be updated when using /splegg reload command. Please stop the server and change the option if you want to change it.
Improved ItemParser performance.
Shop item will now be removed when the game starts
This is for Powerups, the plugin will now enable without HolographicDisplays, but you still need a Hologram plugin and Decent Holograms will be your best choice.
For Leaderboarder, use PlaceholderAPI into DecentHolograms, check PlaceholderAPI section on main page.
Plugin seems to be on a very stable version so no updates are necessary at the moment, bug reports and suggestions for new features are always welcome.
Have to update the plugin to avoid it being considered as inactive!
Small bugfix for online player placeholder returning invalid value when using with certain plugins.
Code (Text):
Caused by: java.lang.NullPointerException
at com.floodeer.splegg.hook.PlaceholderAPIHook.onRequest(PlaceholderAPIHook.java:86)
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:161)
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70)
If true, the player will need a permission to buy a permission to use the item (see below), this is a permanent purchase as you will purchase the permission.
Note that you need Vault for this to work.
Install the update
Start the server to update the config & files.
Stop the server (reloading command won't work because splegg needs to load Vault)
Set Buy-Shop-Permissions to true
Set Options.Use-Vault-Permissions to true (Don't need the Options.Use-Vault one, that's for economy)
In shovels.yml, if you don't want to delete it to generate a new file, below permission add permission-to-buy and add your permission to buy the item.
Add the command to give the player the permission on commands-on-purchase.
I could do this via Vault's API but if in the future Vault depedency for this is removed nothing will break.
Here, if the player has the permission
splegg.buy.gold he will be able to buy the shovel permission (and use for all games, permanent purchase), otherwise he won't be able to purchase the shovel. If he already has the
splegg.gold permission he can select the golden shovel at any time.
If you have OP you will have access to all shovels, so if you to test, deop yourself
Let everything default if you need this, this options are for specific cases where Splegg's inventory handling is not working due some compatibility issue.
Added a new option to handle the delay between joining the arena and splegg modifying the player inventory
You can now use shop outside a game (/splegg shop).
TESTING FEATURE - Please backup your players.db or test this on a test server before updating if you have player data, but should work fine; Shovel shop system will get a code rework soon, in order to prepare for that, your shovel type is now stored and used as the shovel name in shovels.yml and not CDs.
For that reason, DO NOT change the default identifier from shovels.yml;
Tested, but If this is not working correctly use the old version, if you need the /splegg shop command only from this update please send me a Private Message.
Shovels purchase are now permanent (it was been for a while now), temporary shovels should be back on the new shop system.
For shop system rework coming soon, players may lose their shovels
Shop will now let you select items that you have purchased worse before (with a longer countdown), if Check-Worse-Shop-Item is set to false.
You can only go back 1 time after a purchase.
Note: If you see a error after joining the game and no items or scoreboard, your default shovel speed may be invalid. Make sure to have a Default shovel speed in settings.yml that exists in shovels.yml.
Some minor bugfixes & World loading optimizations.
For 1.14.4 users, let me know if you find any problems.
I'm working on Bungee updates for all my games, for content updates there's not much I can do with Splegg anymore, let me know if you have any suggestions.
If you like Minigames you may also take a look at SpeedRun and Wizards.
Will set spectator spawn, this should fix some bugs when there is no location for spectators to be teleported.
If this location is invalid/not set Splegg will try to teleport to arena spawn or to a random player, which can cause problems, so make sure to set it for new maps.
If for some reason the menu shows a invalid game you will receive the a error message (you can change this message at Messages.Game-Error)
This problem seems to happen in specific versions, I'm not sure why. If you do see this message while trying to join a game using the menu please report it via PM or discussion.
Fixed Items config path not showing correctly.
You may have to change some items in config again, make sure to check it out.
Minor internal bugfixes.
Some internal Bungee changes to support multiple game instances (coming soon).
Updated some methods to work with newest Spigot builds, some block detection issues should be fixed.
Updated Particles.
Updated Item Parser, added dye:COLOR.
ID : AMOUNT : dye:COLOR
Non-colorable items will be transformed in a error item.
General code improvement.
Notes:
If I'm not crazy you can use IDs on 1.8 up to 1.13, but make sure to not use IDs with newest Spigot builds, some weird things can happen and your item will be transformed in a error item. Check Material list here.
API-version is set to 1.13, using 1.14 stuff may also result in more weird stuff.
That doesn't mean you can't use Splegg in 1.14x, just be careful when using 1.14 particles or items, test it before pushing anything to a player base.
A error item is a stone named "Error", this will prevent Splegg spamming error on your console due Invalid configuration, if you get this item it means that there's a invalid item somewhere.
Small improvements for 1.14x, please go to discussion if you are having problems with 1.14, you may find a solution before requesting support, otherwise feel free to report a problem.
Some changes to BungeeCord.
Added PlaceholderAPI support. To use offline placeholders you must have Leaderboards enabled. Available placeholders:
The Spectator feature cannot work with Bungee servers. BungeeCord will get a update soon, I'm testing a new system for all my Minigames and should be done soon.
You can now spectate a player using /splegg spectate <player> or /splegg spectate.
/splegg spectate will open a menu with all game that players can spectate.
Spectating requires the splegg.spectate permission.
Added a item that will show all alive players in arena so you can click to teleport.
Fixed a bug where spectators can interact with Powerups.
Fixed a bug where players are allowed to fly after leaving a game as Spectator.
To make it easier for you, here are the new config options.
If you are getting errors with your items make sure to change the item names according your server version.
An extra to this update, I've changed the firework type to avoid too much lag. Also, now you can disable the firework from powerup if you want (Options.Use-Fireworks).
This is a Minecraft performance issue that can happen in certain client versions.
This is a complete rework, please read everything below.
I DO NOT recommend you to put on your server/network without testing and checking what is new. Please make a backup of your old Splegg folder before deleting it.
Normal restore system support was dropped, you will have to recreate your arenas if you were using the normal system, this was made due 1.13 and plugin's performance.
To start, make a backup of you settings file then delete it to generate a new one, the update changed a lot of names and dropped support for IDs.
The plugin now has a lot of files, can sounds bad but everything is to make it easy for you to change whatever you want, nothing to worry about.
Some systems are completely different, so keep that in mind.
Some changes were made to increase general performance, customization and support to new systems.
The restoring system is now Advanced and default storage system is SQLite.
Don't hate for that, normal restore system was very slow and cost a lot of server's performance, advanced is very faster and smoother.
This removes WorldEdit as a dependence.
If you are using BungeeCord and got any problems please contact me via PM.
Improvements
Particle system is now smarter.
The particle now have a match system.
This change tries to avoid problems with different particles names between versions.
Sound system is now smarter.
Same as Particle system, sounds also have a match system.
System updates.
Updated ActionBar system.
Game system now runs Sync tasks.
You can now modify offline player data.
/splegg coins now can be executed by Console and can be used in offline players.
The process is safe and made in Async, nothing to worry about.
The game system now supports different game modes, you may see some updates about it soon.
Shovels will show a ActionBar with the cooldown.
Config will not be saved after server stops anymore.
Now supports MVdWPlaceholderAPI with 2 placeholders atm
{wins}, {shots}
Can be used in Offline Players.
Trails and Effects are smoother and better.
Shop changes
The shovels shop now have a new file -
shovels.yml, in this file you can add how many shovels you want.
Shovels are similar to Kits, however, the player will buy a upgrade to reduce the shoot delay.
The default shovel delay is 0.30 seconds, you can create any number with a two decimal values.
Database only support two decimal values, so if you try to create with more will not be saved properly.
You can't downgrade your shovel - If you shop has 0.30s, 0.20s and 0.10s and you buy 0.10s you can't buy or equip 0.20s.
Code (Text):
Shovels:
default: #Name to load
name: 'Default Shovel' #Display-name
lore: #Display-lore
- '&7Delay: 3s'
permission: "" #If empty will not need any permission.
delay: 3.0 #The delay between shots.
slot: 0 #Slot in shop menu
price: 0 #Price to buy
display-item: 'IRON_SPADE : 1' #Item in menu
item: 'IRON_SPADE : 1 : name:&6Default Shovel' #Item in-game
golden:
name: 'Golden Shovel'
lore:
- '&7Delay: &b2s'
- '&7Price: &b500'
permission: "splegg.gold" #permission
delay: 2.0
slot: 1
price: 500
display-item: 'GOLD_SPADE : 1'
item: 'GOLD_SPADE : 1 : name:&6Golden Shovel'
diamond:
name: 'Diamond Shovel'
lore:
- '&7Delay: &b1s'
- '&7Price: &b800'
permission: "splegg.diamond"
delay: 1.0
slot: 2
price: 800
display-item: 'DIAMOND_SPADE : 1'
item: 'GOLD_SPADE : 1 : name:&6Diamond Shovel'
Due 1.13, we dropped ID support, so you will have to use the Material name.
The Trails and Effects system also have his changes.
Please delete your trailEffects.yml and effects.yml files.
No longer supports Item IDs.
Now supports Item Data for Helmet.
Particles reduced.
The new system is similiar to Shovels Shop
The item 0 will not be used anymore.
I was planning a rework on the Trails and Effects, but maybe for the future.
Scoreboard Changes
Scoreboard is now update every second.
Still non-flickering.
All scoreboard lines supports the following placeholders:
%timer% - returns the formatted time (mm:ss).
%raw_timer% - returns the time in seconds.
%alive% - returns the alive amount.
%spectators% - returns spectator amount.
%players% - returns all players.
%mapname% - returns the map name.
All scoreboard lines supports the following per-player placeholders:
All stats placeholders:
%egg_shots%
%broken_blocks%
%powerups%
%wins%
%games_played%
%balance%
%earned_coins% - In-Game only.
%double_jumps% - In-Game only.
%powerup% - In-Game only, returns the active powerup.
%powerup_timer% - In-Game only, returns the active power up time remaining.
Powerups
Added a new file "powerups.yml".
Some powerups have been renamed.
BIG_SHOOT > Explosive Egg
TRIPLE_SHOT > Shotgun
EGG_PARTY > Inundation
FAST_SHOOT > Rapid Fire
JUMP > Jump
EGG_RAIN > Egg rain
SUPER_SHOOTremoved.
New powerups.
Curse > Put pumpkins on all other players but yourself for a period of time.
Invisible > Makes you invisible for a period of time.
Runner > Will drop blocks below you and run faster during a period of time.
You can now set Powerup time, disable, change display-item, rarity and display-name.
Database changes
Dropped support of database columns for old versions (1.0-2.6).
You will not lose any data, database will add and delete the necessary.
Added shovelDelay is saved with 2 decimal values.
API Changes
Now has only GameStartEvent and GameEndEvent.
Removed forwardData method - if you want to forward any data you can still use Splegg's subchannel.
Added updateLeaderboards.
Bugfixes
Fixed BungeeCord problems.
Fixed Spectator problems.
Fixed sounds and particles incompatibilities.
Fixed a bug causing constant particle updates and lagging player's client.
Fixed a bug with %price% placeholder.
Fixed a bug allowing players to use powerups after game ends.
Fixed a bug preventing plugin from starting without HolographicDisplays.
Not included on this update but will be available very very soon:
Sign leaderboards.
Database was just reworked, let's take it slow I'll be adding back soon.
Block behind signs.
Also the old system was Incompatibilities with 1.13, should be fixed soon as I have time for this.
There are some new powerups that is not here.
Incompatibilities with 1.13, should be fixed soon as I have time for this.
Took me several days to finish off this update, any review and feedback is appreciated.
Please read everything about this update before updating on your server.
Highlights
Reworked the leaderboard system.
Now uses HolographicDisplays.
Dropped sign support.
Changes on how data is sent and received.
You can set leaderboard update time.
Improvements on the online storage system.
HolographicDisplays and Data
Now you have the option in settings file
Leaderboard.Data-Limit - default is 10 wich means that Splegg will get only the top 10 players and after this no placeholder will be registered - so if you want top 20 change the Data-Limit option to 20.
If you are looking for Sign Leaderboard this may be added again but it's not in the to-do list for now, however using the API you can access the leaderboard and create your own system.
Bugfixes
Fixed ActionBar for 1.12.
Fixed auto-join signs being create at wrong file.
Fixed auto-join signs breaking the normal sign system.
Fixed errors while creating signs due Auto-join sign bug.
Fixed game queue.
Fixed auto-join system sending players to random maps when there's still a available map to join.
Fixed plugin dependencies.
Changes
Added a system to set blocks behind the sign according the arena state.
Keep in mind that this system is for normal signs only, there's no way to use with auto-join signs.
Set Use-Block-Behind-Sign to true in settings.yml to use.
Use id:data for now.
Changed /splegg leaderboard to /splegg updateLeaderboard.
API update
New methods
Code (Text):
/**
* Gets the wins leaderboard;
*
* @return The list of avaliable data.
*/
public List<Entry<String, Integer>> getWinsLeaderboard();
/**
* Gets the shots leaderboard;
*
* @return The list of avaliable data.
*/
public List<Entry<String, Integer>> getShotsLeaderboard();
/**
* Get offline player data.
*
* @param name - The player name
* @return Offline player data
*/
public OfflineGamePlayer getOfflineGamePlayer(String name);
You can now forward data to servers using the API, this method will able you to send rewards or any data you want between servers..
Subchannel is named Splegg.
Key is any value you want, e.g you can use "winner" to identify that the data is from the winner.
I recommend you adding a delay to send data.
If you don't like how it works, you can do your own method using the Game Events on API.
Sending data
Code (Text):
@EventHandler
public void onGameEnd(GameEndEvent e) {
Player winner = e.getWinner();
if(Splegg.getAPI().forwardData(winner, "ALL", "winner")) {
Bukkit.getLogger().info("Data sent.");
}
}
Receiving data
Code (Text):
@Override
public void onPluginMessageReceived(String channel, Player player, byte[] message) {
if (!channel.equals("BungeeCord")) {
return;
}
try{
DataInputStream in = new DataInputStream(new ByteArrayInputStream(message));
String subchannel = in.readUTF();
if (subchannel.equals("Splegg")) {
short len = in.readShort();
byte[] data = new byte[len];
in.readFully(data);
String s = new String(data);
//player:key/server
Bukkit.getLogger().info(s);
You can now broadcast a message to players and spectators when the game ends.
Use the placeholder %winner% to get the winner.
Use the placeholder %coins% to get how many coins the player who is getting the message received from playing.
You can now set the egg throw sound.
The default sound is for versions above 1.9.
All default sounds is now for 1.9 or above, if you're using 1.8 make sure to check settings.yml.
Added a option for use chat per-game.
You can edit the chat format in settings.yml.
Placeholders: %playername%, %displayname%, %message% - Read about placeholders on main page.
Custom chat is enabled by default.
Added /splegg reload command.
You can now set a death-block.
If you don't want to use void, there's a new option in settings.yml that allows you to enable and check a block that players will be eliminated if they step on top.
Void death can't be disabled, players will still able to die to void.
The default death-block is bedrock, to edit the block you need to put the block in your hand and use the /splegg setDeathBlock command or set the block name in config.
Fixed a bug where players can get coins for death.
Fixed coins per participation.
Players need to stay in the game until the end to get those coins.
Don't update on your server yet! Run the plugin offline to check.
You don't need, but is recommended to you recreate your arenas.
Everything added on this update will be auto-added in your arena file, but to work with less lines you can recreate the arena.
You don't need, but is recommended to you delete the settings.yml.
Everything added on this update will be auto-added in your settings.yml, but there's a lot of options that was deleted, renamed or changed in Section.
By default, the sounds works only for 1.8, if your server is 1.9, 1.10, 1.11 or 1.11.2 you have to edit for the 1.9 sound enum.
SQLite/MySQL don't wanna pick your data from YAML, you have to use the new command for that.
There's no way to send MySQL data to YAML.
SQLite is recommended if you aren't using BungeeCord.
The plugin is basically recoded, you can now use without Storage issues, resetting issues or internal bugs.
If you have/are a developer and want to add new Powerups, this should be possible soon.
Update highlights
Powerup system fully reworked, now with Holograms and added new powerups!
Added SQLITE support!
Recoded the Storage System.
New restore system - Fully recoded, with advanced log system and more!
A LOT of bugfixes!
API reworked!
Config in-game change support!
Shop reworked!
Added JumpPads!
You now can set the Double Jump Multiply, explosion radius from TNT or powerups and more! You can edit and translante almost 100% of the game.
Added egg trails and player effects! (Cosmetic stuff)
Added
Added Trails
Particles on your eggs.
Added trailEffects.yml file, you can create how many trails you want, with your particle, your price, your item type, your permission and more!
Don't want to use? Don't worry! There's a option to disable.
Added Effects
Particles on you while you're playing splegg
Added effects.yml file, you can create how many effects you want, with your particle, your price, your item type, your cosmetic item, your permission and more!
Don't want to use? Don't worry! There's a option to disable.
Added %state% and %capitalize_state% for Lobby Scoreboard:
%state% returns the Game state -> WAITING
%capitalize_state% returns the Game state -> Waiting
Added a option to give the shovel permission for the Player - With this permission you don't have to buy a shovel for every game anymore.
Added three new items to storage system.
`shovelType` returns the player shovel name.
`effect` returns the player Effect ID.
`trail` returns the player Trail ID.
Added SQLite support.
Added lobby action bar.
Added leave ite
Added jump pads (Iron plate, Gold plate)
Added Holograms to the Powerup. (Only if HolographicDisplays is installed)
Added a command to spawn powerups. (/splegg spawnpowerup <game>)
Added a negative coin system, you can remove player money using negative numbers.
Added custom MOTD system for BungeeCord.
Added a new powerup: Egg rain.
Added Titles for:
When player pick a powerup -> Placeholders: %type%, %player%
When powerup spawn -> Placeholders: %type%
When player has eliminated -> Placeholders: %player%, %aliveplayers%
When grace-time is counting down -> Placeholders: %time%
When powerup expires -> Placeholders: %type%
Added sounds for:
When double jump
When grace-time is couting down
When use jumppad
Added a way to send all yaml data to MySQL or SQLITE:
If there's any player online without the permission 'sr.transfer.data' this process will be cancelled. Kick all players from the server before start the process.
If you want to work with leaderboards and don't want to lose the player data, just use /sp switch MySQL or /sp switch SQLITE.
This process has not fully tested with a full database yet (I don't have a public server to test it), but if didn't work correctly just let me know, you don't wanna lose any data.
This cannot be undone for now, there's no arguments to send the data from MySQL or SQLite to another location.
If needed, I can made something to get the data between from MySQL/SQLITE and YAML.
Remember, you can download or upload a .db file to MySQL.
Changes/Reworked
Shop system was fully recoded - Be hope! There's a lot of things coming to the shop for the future!
You now can customize the shop.
You now can customize the shop item.
You now can customize the Velocity of double jump.
To avoid spectator blocking eggs and interacting with the game, we're now using the SPECTATOR gamemode.
Arena reset system (Advanced-Restore: false) was fully recoded, smarter, faster and no lag!
There's a log system that will print every action of this system, if you are getting issues, enable the system and watch everything.
You now can safely disable Advanced-Restore, after so many issues, this system works perfectly.
Command help page was fully recoded.
Config commands was fully recoded, you now can made IN-GAME changes!
Config has a lot of changes, I recommend you to delete your currently settings file.
ActionBar is now fully customizable.
Powerup system reworked.
Now shows what powerup you will get.
Now have hologram if HolographicDisplays is installed.
FastShoot Powerup reworked.
You can now edit the powerup name.
Default Gun cooldown delay is now 7>5.
Advanced-Restore now able to you create a map from existings worlds on your server folder.
Bugfixes
Fixed scoreboard issues.
Fixed Grace-Period issues.
Fixed bugs with Powerups.
Fixed triple shoot powerup not working.
Fixed powerups spawning in the same location.
Fixed players teleporting when Grace-Period and Game Start.
Teleport only when Grace-Period starts.
This was never a feature.
Fixed spectators able to pick powerups.
Fixed GamesPlayed is 0 in-game stats from MySQL.
Fixed GamesPlayed saves with wrong name in MySQL.
Fixed players can die in Grace-Period
Fixed players can join the game while resetting process with join command.
Fixed players can join in full games with join command.
Fixed players can join in running games with join command.
Removed/Replaced
Removed MySQL option:
Replaced by StorageType.
Storage Types: MYSQL, SQLITE, YAML
e.g: StorageType: SQLITE
Added log while loading storage system.
All MySQL config options was renamed, please be sure to check this before update on your server!
Removed all party messages.
Removed EXTREME_SHOOT powerup.
Replaced by EGG_PARTY powerup.
Removed all Incoming Channels registers from the plugin.
API
Code (Text):
- Main class name renamed to "Splegg", if you're a developer and want to use the API, this should be useful for you.
- SpleggAPI replaced by a new Interface.
- Splegg.getAPI();
- Re-added SpleggAPI from SPAPI.
- GamePowerup.class is now Deprecated.
- Replaced by Powerup.class
- Added GameStartEvent.
- Added PlayerDoubleJumpEvent.
- Added PlayerJumpPadEvent.
- Added PowerupSpawnEvent.
- Added Storage Control methods.
- Removed methods.
- New methods.
Advanced Options
Added a new Section in settings.yml - Advanced Options.
Added Iterator-Delay option -> The delay (interval) of block placing on restore system.
Added Restore-Log option -> Will send a message to players with the permission "splegg.advanced" ALL actions of the restore system.
Options.Advanced-Restore moved to Advanced Section with a new name: Advanced.Restore
Options.Reset-Blocks-Per-Tick moved to Advanced Section with a new name: Advanced.Blocks-Per-Iterator
How to
Code (Text):
Arena Restore system:
- Sometimes the System just place more blocks than the allowed value in blocks per second due the Iterator Delay and to prevent ConcurrentModificationException, this can reduce the value in 5-8 seconds.
- You can change the Iterator-Delay and Blocks-Per-Iterator values in config to have something faster.
- Yes, the restore system replace ALL blocks to prevent fails.
- If your restore system is low, use some Math to check if everything is ok:
First example (Big arena - 14k):
> I have 14k of blocks in an arena, with 5 Iterator delay and 50 blocks per iterator.
> 4 Iterators = 20 ticks (5 Iterator dealy * 4 Iterators = 20 ticks = 1 second)
> If 4 iterators = 1 second, I'm getting 200 blocks placed per second (4 iterators * 50 blocks)
> If I'm getting 200 blocks placed per second and my arena has 14.000 blocks, the calculated delay to reset the arena is 70 seconds. (14.000/200)
Second example (Normal arena - 3k):
> I have 3k of blocks in an arena, with 5 Iterator delay and 50 blocks per iterator.
> 4 Iterators = 20 ticks (5 Iterator dealy * 4 Iterators = 20 ticks = 1 second)
> If 4 iterators = 1 second, I'm getting 200 blocks placed per second (4 iterators * 50 blocks)
> If I'm getting 200 blocks placed per second and my arena has 3.0000 blocks, the calculated delay to reset the arena is 15 seconds. (3.000/200)
After this, if you're getting more delay than the calculated, check your server TPS or enable the Spigot Timing Test (/timings on) during the arena restore.
If your TPS is out of the default, reduce the values in config and teste again.
Sound system:
- To set a sound, use {SOUND_NAME}:{PITCH}
Switch database:
- To send the data from YAML to SQLITE or MYSQL use /sp switch MySQL or /sp switch SQLITE. [(Read more here)]
API:
- To access the new SPAPI use "API api Splegg.getAPI();" or just pick the method "Splegg.getAPI().yourmethod".
Config:
- To made in-game changes use /sp config set <path> <value> --> /sp config set Advanced.Restore-Log false
Shop system:
- buyPermission: The player needs to have this permission to buy an item (permission).
- permission: The item (permission) that the player with the buyPermission will purchase.
- So it's confuse but easy, if you want to add something to VIP Only you can add the buyPermission for the VIP group and players without this permission can't buy the permission to use item.
Examples:
I am a VIP member ->
The permission to buy the diamond shovel is splegg.buy.shovel.diamond. I'll buy because I have the buyPermission and I'll get the permission to use when I want.
I am normal member ->
I don't have the splegg.buy.shovel.diamond permission so I can't buy the item.
As you can see we are using permissions system instanceof saving everything in the Database, works with the same way and don't you can modify what you want.
Trails & Effects:
- The number is the ID and will be saved in Database.
- name: The display name in menu.
- buyPermission: The player needs to have this permission to buy an trail/effect.
- permission: The trail/effect that the player with the buyPermission will purchase.
- particles: The particle type, the list is on Main page. CLICK HERE TO GO
- menuItem: The display item in menu.
- lore: The item lore in menu.
- buyCommands: Commands to execute when player buy the trail/effect.
- price: The price
- slot: Slot in menu
- rotateParticles: For Effects Only, special/rotative particles around the player or normal particles.
- helmet: (Full armor set will be added soon) If player will get some hat with the effect.
Update Screenshots:
Enjoy! Main page will be fully updated later.
Excuse me and let me know about spelling mistakes, I'm writing another big update for another plugin now!
I am aware of a problem with the normal resetting system (non-advanced), I am currently looking for an explanation and a solution (without creating a new system) for it. If you know when it happens please let me know via PM or discussion.