Added - (EXPERIMENTAL) ActionPoints can now act as an "Economy Provider" in Vault. This means that you can use ActionPoints as the primary currency on your server and use it in any plugin that supports vault. This allows the use of ActionPoints in more advanced shop GUIs, etc. This feature is disabled by default. You will need to enable "Settings.Economy.EnablePrimaryCurrency" in settings.yml to enable this. This will disable Essentials Economy or any economy plugin that registers as a lower priority!
- Added support for CustomModelData in the shop. Just add ":<CustomModelData Integer here>" to the material name.
Changed - The minimum required minecraft version is now 1.16. Any version below 1.16 will not work.
- Removed code for handling legacy versions, removing the warning on newer versions about legacy materials.
Removed - Removed the converter code for the (now very) old config format. This also removes /ap convert
Fixed - Fixed several errors that sometimes occurred when a player joins or leaves.
Added - Added an option to fill all empty slots in the shop with a given material.
- Added a "DoNothing" option to shop items for when you want an item that does nothing when clicked on (useful for just providing information). Example:
Code (YAML):
Items:
DoNothingItem:
Category: "Example" Material: "DIAMOND" Slot: 2
DisplayName: "&c&lThis Item Does Nothing" Lore: -
"&fYou could put info here!" DoNothing: true
Changed - Made several big performance improvements in the code handling the actions (the event listeners). This should be especially noticeable on bigger servers.
Fixed - Fixed placeholders not being parsed in shop item display names and lores.
- Fixed an issue where crafting would always award 1 point instead of the configured amount.
- Fixed an error that occurred when the player is killed while leaving (for example, by a combat log plugin)
- Fixed an error that could occur when the plugin saves player data and the player went offline.
Added - Added fishing action: Awards points when the player catches a fishing.
- Added support for 1.21.
Changed - The minimum required/supported Java version is now Java 17 (was Java 8)
- Updated several dependencies
- Updated support for FactionsUUID.
Fixed - Fixed an issue where /ap balance [player] would send the balance to the player instead of the command sender.
- Fixed an issue where /ap give [player] would send a message to the player instead of the sender.
- Fixed an issue where /ap set [player] would send a message to the player instead of the sender.
- Fixed an issue where /ap take [player] would send a message to the player instead of the sender.
ActionPoints 2.0.0 is now considered stable and will be the the only supported version! ActionPoints 1.x is now no longer supported. Some features from 1.x have not been readded. Some of these won't be added back as I deemed them not useful. Some other features like trivia will be added back in the future!
Changelogfrom RC1 - Fixed an issue where actions could not be disabled.
Upgrading to 2.0 1. Stop your server (
DO NOT reload or use plugman!).
2. Fully back up the /plugins/ActionPoints folder and keep it somewhere safe.
3. Remove the complete /plugins/ActionPoints folder.
4. Replace the old jar with the new jar.
5. Start your server and wait for it to fully boot.
6. Create a folder in /plugins/ActionPoints called convert. (Full path will be /plugins/ActionPoints/convert).
7. Put the old config you just backed up into the convert folder.
8. Run /slb convert via the console. (This will currently not send a message telling you the conversion is done, but it should be done almost instantly.)
9. Go over all config files in /plugins/ActionPoints and see if everything converted correctly. If not, please try again or contact me. You may need to manually convert certain settings.
10. You can now safely delete the convert folder you just created.
11. Change settings if you wish.
12 Restart your server (
DO NOT reload or use plugman!).
Full Changelog - Completely rewrote the plugin for better stability, improved performance, and removal of features that I considered not useful.
- Added a much-requested feature: a shop GUI where ActionPoints can be used to purchase items.
- Old user data is
NOT compatible! The SQL structure has been changed and support for YAML files has been removed. Instead of YAML files, SQLite will be used instead.
- Added mob kill action.
- Added player kill action.
- Added title and actionbar support when the player completes an action.
- Added support for 1.17.
- Improved performance, especially on larger servers.
Added - Added the rewards/milestones feature, that works the exact same as it did on version 1.x. Unfortunately, /ap convert does not convert rewards/milestones yet. This will be added in the next version.
- You can now disable /ap shop in the config.
If no major issues occur, the next update will most likely be the full release of version 2.0. This means that it will be considered stable and support for 1.x will be dropped.
Changed - Changed the way player data loads to hopefully prevent sync issues on bungeecord networks.
- Improved performance, especially on larger servers.
Fixed - Fixed an issue where the timeout option was missing for the MobKill action, causing an error each time a mob is killed.
- Fixed an issue where the timeout option was missing for the PlayerKill action, causing an error each time a player is killed.
Fixed - Fixed the plugin not working properly when SQLite was used on a normal Spigot installation(it worked on PaperSpigot).
- Fixed the PlaceholderAPI placeholder not working.
Now that
SuperLuckyBlock 4.0 has reached the beta phase I will be trying to focus more on finishing this ActionPoints rewrite. Expect more updates
Added - Added the following placeholder for PlaceholderAPI: %actionpoints_balance%.
- Added support for FactionsUUID.
- Added support for Votifier
I am really sorry for the lack of activity on this resource. This rewrite took way longer than I hoped but I finally have an Alpha version ready with some big changes.
Please take a look at it in a non-production environment. All feedback is appreciated
New Discord From now on, support will only be provided on my discord server(faster and recommended way) and in Spigot PMs. You can join the discord here:
https://discord.gg/MW9EFbe
Changelog & Info - Completely rewrote the plugin for better stability, improved performance, and removal of features that I considered not useful.
- Added an experimental implementation of a much-requested feature, a shop GUI where ActionPoints can be used.
- All old
vanilla(not plugin related) actions are available in this alpha version.
- Currently, there are little to no abuse prevention features like timeout, these will be implemented ASAP.
-
Old user data is NOT compatible! The SQL structure has been changed and support for YAML files has been removed. Instead of YAML files, SQLite will be used instead.
- 1.12 is not officially supported yet in ALPHA-1, but it may work if you use the correct material names.
- Some features and actions are still missing, these will be added over time. Your feedback will be appreciated
This is not really an update but I wanted to announce that the plugin has been confirmed to work on 1.15 and I will now provide support for that version.
Fixed - Fixed an issue when resetting someone's point balance, their reward level would not reset which would result in players not getting their rewards.
Note: I haven't been able to update this plugin as much as I wanted, but I will change this. I have some nice plans for future.
Changed - Updated HikariCP to 3.3.1
- Updated Remain to the latest version.
- Updated Designer to the latest version.
- ActionPoints now works with SuperLuckyBlock 3.0 and higher.
- All MySQL operations are async now(only update queries were before). This should be a HUGE performance increase. The plugin will have less impact on the TPS now. The plugin also used to delay joining because they weren't async so this should be solved too.
Changed - Updated Remain and Designer to the latest version.
Fixed - SuperLuckyBlock is now listed as a soft-dependency again. I forgot I changed the name in the rewrite.
- Some issues have been fixed by updating Remain and Designer.
Changed - Player information(point balance etc) will now be loaded 10 seconds after the player joined. This is so that when switching servers on a bungeecord network the database has time to sync. This will also improve login times and performance in general when mysql is used.
Added - You can now use /actionpoints give on offline players.
- You can now use /actionpoints take on offline players.
- You can now use /actionpoints reset on offline players.
- You can now use /actionpoints set on offline players.
Changed - Improved the way the plugin gets the playerdata
- Moved around some methods. The API has not been changed.
Added - Added a cooldown option for most of the non-plugin actions. This requires players to wait between actions to get their points and prevents abuse.
Added - Added an option to the config to not reset a player's balance (Rewards.DoNotReset). This allows users to use ActionPoints as an EXP or economy system.
Added - Added the possibiltity to execute a command when a player drops below their reward level.
Example:
Code (YAML):
Rewards: # When the player's point balance is equal to or greater than the specified amount of points, player's balance will be reset and the player will be able to get all rewards again. ResetAt: 2000
# When enabled, commands starting with an exclamation mark(= !) will be executed when # a player drops below the reward level. ExecuteOnLevelDrop: false
# Commands to execute when reaching a specific amount of points. Don't include the /. # Format: # {points}: # - eco give %player% 200 # - !eco take %player% 200 # Message: "{message here}" Rewards:
200:
Commands: # Executes when reaching reward level -
"eco give %player% 50" # Executes when dropping below reward level -
"!eco take %player% 50" Message: "You are just getting started %player%..."
Added - Added the permission actionpoints.balance for the /actionpoints balance command.
- Added the permission actionpoints.balance.others for the /actionpoints balance [player] command.
Added -
[BETA]A ranking system. Your config should be updated automatically, but I'll add the default ranking configuration here just in case:
Code (YAML):
Settings: # Ranks are configured the same way as rewards, except that you have to specify a string with the rank name instead of a command. # WARNING! THIS FEATURE IS EXPERIMENTAL! Ranks:
Enabled: false
# This rank should not be removed 0: # This value is used for the %actionpoints_fullrank% placeholder. FullName: "&6Wood" # This value is used for the %actionpoints_rankprefix% placeholder. Prefix: "&6[W]" 500:
FullName: "&eGold" Prefix: "&e[G]" 1000:
FullName: "&7Iron" Prefix: "&7[I]" 1500:
FullName: "&bDiamond" Prefix: "&b[D]" 2000:
FullName: "&5Obsidian" Prefix: "&5[O]"
- Added %actionpoints_fullrank% and %actionpoints_rankprefix% to display the configurable names.
Added - Added the actionpoints.norewards permission so you can exclude players from getting rewards. More features will be added soon which require this permission to be granted.
Added - Added the ability to create your own questions. You can use /apadmin addquestion for this.
Changed - Rewrote the command system a bit. Some commands have changed a bit. For an up to date command overview, see the spoiler below.
Improved - Improved the way trivia questions are handled.
ActionPoints /actionpoints help - Displays the help page. /actionpoints balance - Shows your balance. /actionpoints give <player> <amount> - Give a player the specified amount of actionpoints. /actionpoints reset <player> - Resets a player's balance. /actionpoints beg - Get some gold... Or maybe not? /actionpoints daily - Claim your daily reward. /actionpoints trivia - Answer a trivia question to get some points.
APAdmin /apadmin help - Displays this page. /apadmin reload - Reloads the config. /apadmin addquestion - Add a custom question to trivia.
Added - Added an option to not award points for blocks placed by a player.
Fixed - Hopefully fixed an error with the ItemCraft action(could not reproduce it so can't test it).
- Fixed some potential issues with LeaderHeads as I accidentally shaded the LeaderHeads API into the jar.
Added - Added support for LeaderHeads. For more info see the resource page.
- Added a land claim action for the Lands plugin.
- Added a point decay system. Every 24 hours the plugin will check when offline players last played, and if the last time they played is longer than the days you specified they will get removed the specified points each day of inactivity.
Fixed - Fixed some loop bug on startup when PlaceholderAPI was installed.