- Fixed an issue that prevented most people from being able to connect to MySQL
- Fixed an issue that prevented almost everyone from connecting to mysql
- Fixed an error with some versions of mysql
- Fixed an error when parkour is below y=0
- Fixed a small memory leak in the block selector
- Add characterEncoding flag to mysql url
- Fixed an error with the highscore placeholder
I swear if there are more errors from this im going to hit something
- Fixed another error with the stats placeholder
- Fixed an error with the highscore cache
- Fixed an error with the %ajpk_stats_highscore% placeholder
- Added {SCORE} placeholder support to more rewards (end, server highscore) and also allow you to use it in reward commands (from rewards that support the palceholder ofc)
- Made the server highscore reward to execute after passing the server highscore, instead of just when reaching it
- Fixed an error that caused the highscore papi placeholder to not work
- Fixed some messages being named wrongly
- Fixed a bug that would prevent per-area scores from being saved in certain situations
- Fixed a small memory leak
- Fixed sqlite driver not being found
- Fixed sqlite connection being closed when it shouldn't
- Fixed a mysql connection being held while getting a players name (could lead to running out of connections)
- Added a cache to BlockSelector (should reduce lag in some cases, needs more improvement but its an improvement)
- Fixed the table prefix being null
- Made the updater fail with only a warning instead of a stack trace
- Fixed a bug where mysql would not load if another server had already converted the database
- Rewrote the entire scores system, improving performance and memory usage (massively for big servers) which should also improve stability
- Fixed some typos in the config
- Fix begin-score-per-area not effecting the new score on fall message
- Fixed an error that could happen on server shutdown sometimes
- Will now check if parkour inventory is enabled before opening block selector from any chest
- Fixed block selector not loading when opened in a parkour game on 1.8
- Fixed a crash that could happen if you use mysql
- You can now configure difficulties
- You can now configure the difficulty ramp for the balanced difficulty
- Added special option to rewards.yml for commands to be executed on parkour start and end
- Added a warning in setup when an area is too small
- Made the parkour much less straight only
- You can now put NONE for particles to disable them
- Made it even less likely for jumps to spawn in blocks (still not recommended)
- The reward command now has autocompleting
- Cleaned up some code
Re-uploaded because the plugin thought it was 2.10.13 for some reason. Fixed in this jar
- You can now configure difficulties
- You can now configure the difficulty ramp for the balanced difficulty
- Added special option to rewards.yml for commands to be executed on parkour start and end
- Added a warning in setup when an area is too small
- Made the parkour much less straight only
- You can now put NONE for particles to disable them
- Made it even less likely for jumps to spawn in blocks (still not recommended)
- The reward command now has autocompleting
- Cleaned up some code
- Fixed version showing up as ${project.version}
- Will ignore response from server if it is empty (updater)
- Prevent blocks menu error (when an invalid block is selected)
- Added debug mode (option in config, will highlight areas)
- Changed next block algorithm slightly to make it less common to have a straight line
- Removed the prefix from GUI items
- Update wiki links in the configs (I have a new wiki btw)
- Convert project from maven to gradle (this doesn't effect anything for server owners, just makes build times faster for me)
- Fixed an error in the block selector menu when certain blocks are set to certain areas
- If placeholder is not in cache, will get it sync the first time.
Been a while since an update! Theres several things I've changed over the past few months that I didn't really feel like deserved an update on their own so I held back. I looked at the things I changed today and realized there was a lot more than I thought, so here we are!
- Will place stone if the desired block could not be found (instead of placing nothing and the player falling)
- Prevented loading chunk when checking for portals
- Added allowPublicKeyRetrieval option to storage config
- Added an option to the config to require a permission for players to get the block selector item
- Added {HIGHSCORE} placeholder to the action
- Fixed placeholders were flashing the incorrect area
- Moved to newer ajUtils config system (mostly just makes things easier for me)
- Added option in the config that lets you disable the chest item in the parkour inventory (enable-block-selector-item)
- Add getScoreManager() method to AjParkour (API)
- I forgot to remove a debug line in 1.10.5 so the console would get spammed if you use placeholders. In this update, I removed it.
- Fixed placeholder cache not expiring (only refreshed placeholders on server restart). Now correctly expires every 1.5 seconds
- Fixed a server crash when clearing the cache
- Fixed an error that would happen if a player tried to select a block but had not gotten a score before (only happened when using mysql)
- Fixed updater erroring on windows
- Further reduced number of requests to the database when you have leaderboard papi placeholders
This update should also handle too fast placeholder updates slightly better. I still do not recommend using them at all.
- Decreased the number of requests to the MySQL server when getting top scores
- Fixed error when placeholderapi isn't installed
- There is now pages support in the blocks gui, so if you have more than 45 blocks it will not error.
Also, thank you for 10k downloads!
- Update the updater to support double digits in the version
- Added %ajpk_stats_gamesplayed%
- Added reward for reaching the server highscore
- Added %ajpk_stats_currentposition% placeholder (shows your ranking, can also add arena to the end like other placeholders)
All of these suggestions are from the
feedbacky page. Go there and upvote ideas you want to see added and I might add them
- Changed the default portal creation message to tell the player they might have to restart the server for it ti start working
- Changed a warning message so I can figure out where it came from in the future
- Fixed the updater not downloading on windows
- You can now change the new block particle in the config
I make some other plugins that I think are pretty cool, you should
check them out
- Set the id colum to be the primary key so the table will work better with external programs (e.g. phpmyadmin)
- Fixed an issue that would cause other plugins that used hikari and also didn't protect against this bug to fail to load when ajParkour was installed (or ajParkour to fail to load when one of those plugins was installed)
If you had this error with another plugin, I recommend you contact the author of the plugin to relocate the hikari classes to avoid this conflict in the future.
- Fixed the after execution for rewards so that items can be given correctly using the vanilla command.
- Changed from using a generic mysql driver to HikariCP. Should lead to much better performance if you are using mysql.
- Should (mostly) fix the bug where the blocks will sometimes go the opposite direction than they are supposed to
- Will kick the player if they go too high (e.g. hacks)
Also, thank you for 8k downloads!
- Fixed an error that sometimes happened when clearing the placeholder cache
- Fixed a bug that would add all to the list of reloadable things (so at the end it would be all, all, all, all, but not anymore)
- Added SLOW_FALLING to the list of cleared potion effects
- Added {TIME} placeholder to the /ajp top format. Its not there by default, and only works when you don't specify an area.
- Fixed ConcurrentModificationException
- Fixed ClassNotFoundError on player leave
- Fixed a possible memory leak
- Updated wiki links at the top of config files
- Allow you to have duplicate rewards (for per-area rewards)
- Fix the prefix being in the middle of the kick message for afk and teleport
- Will warn you if you try to start the plugin on bukkit.
- Fixed placeholders that were shorter than 8 characters would make an error
- Fix server lag when players start parkour
- Fixed an error that happened when someone was on parkour when the server was shutting down
- Added support for InfiniteJump. If it is enabled, it will disable it on parkour and re-enable it after.
- added /ajp migrate rogueparkour to migrate scores from rogueparkour mysql
To convert:
1. Configure database settings in ajparkour's storage.yml. make sure it is the same database but a tablename other than RPScore
2. Start/restart the server.
3. Do the command /ajp migrate rogueparkour
- Fixed block jumps not being detected unless you jump on the extreme corner of the block
- Fixed the max number of players allowed in an area not saving
- Fixed a broken color code in a message
- Will count blocks as jumped on when the player jumps on the very edge of the block
- Fixed error on 1.8 and below servers
- added /ajp removearea
- Fixed portals not working right after you create them
- Will not show players with a score of 0 on the leaderboard
- Fix overall highscores not working
- Fixed per-area exceptions
- Reduced performance impact of top command and score placeholders
- Prevent placing of water/lava in parkour
- Will clear players of levitation effect
- Added a permission node to open the block selector (ajparkour.selector)
- Added an argument to the blocks command to open the gui for others (requires permission ajparkour.selector.openothers)
- Fixed a thing that would cause the server to freeze when getting the username of an offline player.
- Made it so the updater will not notify you after you download the update (but haven't restarted the server yet)
- Fixed this plugin causing the server to freeze/lag when your MySQL server was slow.
- Added per-area player limits! You can set it when setting up the area. /ajp setup max
Sorry for the gap in updates. The MySQL fix took longer than expected to work out.
- Fixed an error that occurred when trying to reset someone's score when using MySQL
- Changed how the reload command works. You can now reload things separately.
- Fixed a bug where if the blocks somehow got outside the area, they would go in a straight line instead of trying to turn back
- Another possible fix for portals not working right after they are created
- Fix enable-updater option being backward
- Fix updater command saying it is disabled when trying to download an update anyway
- Fixed the portal creation bug (in most cases)
- Will not check for afk players on parkour when afk kicking is disabled
- Added option to make the afk kicking feature more optimized
- Added an option to completely disable the updater.
- Will remove speed and jump effects when starting parkour and while in parkour
- Possible fix for portals not loading correctly on startup
- Fix updater only checking for an update once after server start (instead of once per hour like its supposed to)
- Fix exception '1' always resetting to default
- Fixed the %ajpk_stats_highscore_(area)% placeholder
- Removed a debug message that I forgot to remove earlier
- Added /ajParkour areas that will list all loaded areas and their difficulty
- Should no longer bug you about the update after you have downloaded it (but not restarted the server yet)
- Fix error when there is only 1 block available for an area
- Will teleport players 0.5 above the block to prevent players from falling through fences
- moved updater away from spiget (now uses spigot's own api)
- will check for an update every hour instead of every 5 hours (i did this because spiget was very slow so there was no reason to update faster. now there is)
Updates will now show up in your server faster.
- Will make sure that the player always has enough hunger to allow them to run in parkour.
- Added per-area blocks. See this page for more info.
- Fixed update checker not working (you will have to download this version manually)
- Fixed the /ajp setup info command clearing the editing queue (lol)
- Fixed players could do /ajp start when already in parkour
- Fixes a bug where portals would reload too soon after saving a new portal.
- Add migrate command (permission: ajparkour.migrate)
- Fix update command saying you don't have permission, but still executing.
- Add options to config to optimize portals
- Fixed a bug where the first 3 blocks could overwrite each other
- Fixed a bug where per-area scores were not sorted correctly
- Will now clear the editing queue when you save an area, so it will not warn you the next time you go to edit/create an area
- Added per-area placeholders:
%ajpk_stats_top_name_<#>_<area>%
%ajpk_stats_top_score_<#>_<area>%
- Fix 'no update available!' message not having color codes parsed
- Will check for an update every 5 hours instead of only on server startup
I finally finished this update!
- Added per-area scores (placeholders for them coming soon[tm])
- Added update checker and update command
- Possibly fixed the config constantly adding blank comments to itself
- Added more autocomplete for some command
This is a fairly large update (that took me almost 2 full days), so please tell me about any bugs I missed!
- Added a reset command to reset player's scores
- Fix expert difficulty not listed in help message
- Fix some placeholders having the prefix in them
- Added a prefix message (in messages.yml)
- Add rewards guide link to rewards.yml file
- Fix default item name being italic
- Fix error when you tried to do /ajParkour start from console
- Fixed the first few blocks of the parkour would sometimes be weird (not fully tested because it always seems random when it happens, but the bug seems to be gone)
- Fixed version command also executing the top command for some reason
Also, 100th update! woo!
READ:
Converting from v1 to v2
Woohoo! Its finally here!
I've been working on this rewrite for over 2 months (almost 3) and its finally ready enough to be released!
Almost everything has already been tested by people in my discord server (thank you!) and should be bug-free!
If you do find any bugs, please report them!
Here are some of the new features:
- Completly new block picking system that will pick the best block to parkour to next. This system takes into account things like proximity to boundaries, proximity to other players, the direction you are facing, and probably some more things I forgot
- Action bars on 1.8!
- Block selection system that allows players to pick a certain block to do parkour on (/ajParkour blocks)
- New parkour inventory mode that will clear a player's inventory while they are on the parkour, and replace it with a special parkour one! (it has an item that when right clicked will open the block selector menu)
- Multiple area support! You can now create as many parkour areas as you want!
- Portals can send you to only one area, or one of the ones with lower player count
- Per-area scores
- Multiple interval rewards!
- Brand new config system that includes comments in the file!
- And probably a bunch of other things im forgetting right now
Enjoy!
- Fixed an error that would sometimes occur if the cooldown data for a player was not found.
This will most likely be the final update for v1! I am currently working on completely re-writing the plugin to organize the code better and to add new features! Join my discord for more information. (Rough estimated completion date is December)
Update: The rewrite is mostly done, and I plan to have it completely late December. You can join my discord to help me test for bugs.
- Fix debug command saying permission denied, but still executing the command.
- When removing a parkour block, it will set it to the block it was before, instead of just replacing it with air. This is VERY useful if two player's parkour blocks overlap
- Fix debug command not requiring permission (ajpk.debug)
- Add a console warning when the plugin is unable to find somebody's name
- Fixed a bug where the plugin would not look to mysql players' names on placeholders (the stats_top placeholders)
- Will not give players the super hard jumps (the ones where you have to do that weird double jump thing) until they get past 30
- add /ajParkour ver and /ajParkour version to tab-complete list
- Removed some debug messages that I forgot to remove earlier
- Add configurable messages for block placing and breaking
- Remove silver/light gray terracotta from default list because it is different in different versions.
- Add the /ap portals menu to messages.yml.
This update marks that this plugins' messages are now 100% customizable! If you find a message that is not in messages.yml, contact me so I can add it!
- Fix player names not being stored in MySQL
- Add "portals.must-specify-a-number" message to messages.yml
- Changed some wording in the default messages for messages.yml.
- Fix 'Â' being in some messages.
- Added fall-sound option to config
- Fixed weird characters in enabled and disabled messages
- Add an option to disable the "Your parkour game has ended because you teleported" because it sometimes happens because of lag.
- Added %ajpk_jumping% placeholder. It displays how many people are currently in the parkour.
- I forgot to remove some placeholder debug, this version removes it.
- I forgot to remove some placeholder debug, this version removes it.
- Not sure what caused the error, but will now check to make sure the player is not null when checking for a cooldown.
- Allows you to set the interval to any number below 0 (like -1) to disable the interval rewards
- Added delay-rewards option, which will wait to do execute reward commands until after the player falls
- Fix breaking/placing outside of the parkour
- Added the %ajpk_current% placeholder, which shows your current score
- Stops people in parkour from placing and breaking blocks
- Added a reset command that will unset pos1 and pos2
- Will send you a message when you pass your previous high score
- Fixed color codes on /ajparkour version
- Fixed a bug where the plugin would not attempt to reconnect to the mysql server after timing out. Thanks to @Sandbag for the report.
- Adds a cooldown option to exceptions. See the config spoiler on the plugin page for more information.
Thank you for 1k downloads!
- Add the setup menu to messages.yml
- Added a command to show the current plugin version
- Added the help message to messages.yml
- Add messages saying you cannot use certain commands from console, instead of just getting an error
- Add a confirmation for the removefallpos command, that warns you that you cant set it again from the console
- Fix a block name in the config (changed from SILVER to LIGHT_GRAY)
- Changed fallback block from bricks to stone
- Added an option for exceptions that will make them execute only the first time the player has gotten to that score. (see default config.yml on the overview page for an example)
- Fixes an error that happened when a player reaches the score limit
- Added an option in the config to stop players if they get past a certain score (disabled by default)
- Added the no data message (for placeholders that do not have data yet) to messages.yml
- Fix setting fall pos not requiring permission
- You now need to have the ajparkour.reload permission to use the reload command (whoops)
- Fixed an error that would occur when executing almost any command from the console.
- Added MySQL support (look in storage.yml) (thanks to @Zombiemold for the suggestion)
- Added migrate command (see below for explanation)
- Fix some errors that happened when executing some commands on the console
To use the migrate command, use the following syntax:
Code (Text):
/ajParkour migrate <from>
Replace <from> with the name of the old storage method.
It will move all high scores from <from> to the currently enabled storage method.
Example:
Code (Text):
/ajParkour migrate yaml
If you have MySQL enabled, this command will migrate from yaml file storage to MySQL.
- All messages in messages.yml are now parsed for PAPI placeholders.
This update adds a few placeholders:
- %ajpk_stats_top_name_<number>% - Returns the name of the person in top position number <number>.
- %ajpk_stats_top_score_<number>% - Returns the score of the person in top position number <number>.
- %ajpk_stats_highscore% - Returns the player's high score.
Note: These are
PlaceholderAPI placeholders.
- Added an option in the config to change how long a player has to be standing still to be kicked
- Fixed an error that sometimes happened when starting parkour.
- Will kick a player from parkour if they have not moved in around 60 seconds.
- Add checks that should massively reduce overriding of other blocks (for example, other parkour players)
- Added a max-player option in the config. If the value is -1, the limit is disabled.
- Fixed a bug where /ap list was parsing the wrong placeholder.
- When LeaderHeads integration fails, it will simply put a warning in console instead of disabling the plugin.
- Changed some messages to make some things clearer
- Added the error messages to messages.yml
Here is what I have changed:
- Will save new high score and end parkour if player is teleported (makes it possible to use it in mini game lobbies! )
- Will save new high score when a player leaves
- Will save new high score when server shuts down
I only changed two things in this update:
* Changed the fallback block from plain bricks to different colors of wool
* Fixed a typo causing the first-position message to not work
In this update, I added a comment to the top of messages.yml telling what the file is, and how to reset any of the messages.
This update fixes the list commands not making new lines for each thing in the list.
Here is what I have changed:
* Fixed a typo that caused the portal remove message to not work
* Fixed error when trying to remove a portal that doesn't exist
* Fixed an error when trying to remove a portal with id 0 (impossible)
In this update, I added more messages to messages.yml
Here is what was changed:
* Moved all messages to messages.yml
+ Added the ability to customize more messages
* Fixed ghost players appearing in /ajparkour list after they log out during parkour
I reposted this update because I forgot to change the version number in the plugin.
Here is what was changed:
* Moved all messages to messages.yml
+ Added the ability to customize more messages
* Fixed ghost players appearing in /ajparkour list after they log out during parkour
FIxed a typo in a warning message.
This update allows you to change the commands from just a single command to a list. For example, change it from this:
Code (YAML):
command
: give
{PLAYER
} diamond 1
To this:
Code (YAML):
command
:
 - give
{PLAYER
} diamond 1
 - tell
{PLAYER
} hi this is 2 commands
Thanks to
@zuhir for the suggestion.
When shutting down, the plugin will remove all parkour blocks, and teleport all players in parkour to the fall position (if there is one)
This update adds rainbow mode. It currently only works on server versions 1.12 and below, but I will add support for 1.13 and 1.14 later. Simply add true to where the data value usually is, and it will pick a random color for each jump!
Thanks to
@zuhir for the suggestion.
If a fall position is set, it will teleport players to it when they leave.
+ Added support for block data values (for server versions under 1.13)
* Possible fix for 0 potion and negative potion bug (I am unable to replicate this bug)
Will fix an error that occurs when a potion is thrown in the parkour on 1.7 & 1.8.
I rewrote the part that finds the next block to place. It should now keep inside the parkour area 100% of the time.
This update just adds bStats, which can be disabled using the config file in the plugins/bStats folder.
I've added a few things in this update:
+ Added an option in the config to add a required permission to use /ajParkour start (if enabled, will require ajparkour.start)
* Made it so the portal doesn't just make the player execute a command, will actually start it from the portal
+ Added start command argument to make other players start the parkour (requires permission ajparkour.others)
+ Added config value to adjust how many particles are spawned (0 will disable the particles)
Thanks to
@starnos for the suggestions!
The biggest thing I changed in the update is the portals command. Instead of using '/ajParkour setportal' and '/ajParkour removeportal', there is now the '/ajParkour portals' command, which has the subcommands list, set, and remove. The plugin will automatically convert the old portal to the new portal type. This command also adds the ability to add as many portals as you want.
Thanks to
@zuhir for the suggestion!
Some other small things changed:
* Will say in console that it is integrating with LeaderHeads
* Added autocomplete/tabcomplete for /ajp parkour subcommands
This update is for potion effects.
It will block potions from being thrown and will also block people drinking them.
There is also an option in the config to clear all potion effects from players entering parkour.
Thanks to
@zuhir for the suggestion!
I forgot to add the new command to tab complete.
Added /ajParkour list, which will list everyone that is doing parkour and their current scores.
I forgot to remove a debug message.
I have changed two things in this version:
+ Added a disabled worlds section in the config
* Fixed portal and parkour area ignoring which world they should be in
Will automatically convert the ENTITY_CHICKEN_EGG sound to CHICKEN_EGG_POP if the server is below 1.9
Adds a header/title to /ajParkour top.
In this update, I added a built-in leaderboard: /ajParkour top
It will show the top 10 scores.
Adds support for leaderheads while the players are offline
In this update, I added jump sounds. You can change the sound in the config.
Added an option in the config to allow you to change how many blocks the player falls before it teleports them to the fall position.
(Thanks
@starnos for the suggestion)
This update adds basic leaderheads integration. It uses the ajpk-jumps leaderboard name.
This update adds basic leaderheads integration. It uses the ajpk-jumps leaderboard name.
Small update this time
+ Will disable fall damage if the player is falling because no fall position was set (normal fall damage will still work, will only stop it if they fell)
Phew! The plugin now supports all minecraft versions 1.7.10 through 1.14.2!!! That's a lot of versions!
Features that are not supported in the older versions are simply disabled.
1.8 and below - particles will not work
1.10 and below - Action bar will not work
1.11 and below - Default parkour blocks will be reverted to bricks (configurable in config)
1.11 - no colors in the action bar
I tested the plugin on the following subversions:
- 1.7.10
- 1.8.8
- 1.9.2
- 1.10.2
- 1.11.2
- 1.12.2
- 1.13.2
- 1.14.1
The plugin will also most likely work on other subversions, but it definitely works on the ones above.
I forgot to change the version number that was in the plugin.
Will now check the blocks in the config to see if they exist. If the block does not exist (typo or older server version) it will fall back to brick blocks, and put a warning in the console.
In this update, I have added tab complete support for commands. It will also only show the commands the person has access to.
Here is what I have added:
+ Added /ajParkour removeportal
+ Added /ajParkour removefallpos
I forgot to add /ajparkour setportal to /ajparkour setup
Here is what has changed:
+ Added portal - If you step into the block where the portal was set, you will be entered into the parkour.
This update does not add any new features
* Added a function that will get messages from config and auto-parse them for color codes (makes things a lot shorter for me)
Another small update:
* Error messages will tell admins the correct actions to take but will tell players to tell admins about the error message.
This update doesn't fix/add anything.
* Cleaned up some ugly code
* Added some comments (to explain what some parts are doing)
Small update:
+ Added exceptions, will execute different commands on certain scores
* This update MIGHT require you to delete your config file
Have fun!
I'm kinda sorta back to working on plugins.
Here is what I have changed in this version
* Fixed default config placeholder being wrong
- Removed a bunch of unused code
You can now customize (most) messages via the config file!
NOTE: When updating, copy the values you have in the config file, and delete it. Then start your server, and fill in the values. You need to do this to get the new message config options.
I forgot to remove this message when debugging lol. This version no longer has it.
Instead of teleporting the player to the corner of the block, it will teleport them to the center.