Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bleeding branch v3.3.0 alpha.13 #239

Merged
merged 82 commits into from
Aug 28, 2022
Merged

Conversation

rbluer
Copy link
Collaborator

@rbluer rbluer commented Aug 26, 2022

Highlights of some of the changes included in this alpha.13 release. Please see the change logs for all details.

  • Added a new tool: mines tp list which will show a player all of the mines they have access to. They can also click on a listed mine to generate the TP command. This command can also be ran from the console to inspect what players have access to.
  • Fixed a recently introduced bug where if the server starts up, but someone has no ranks, it was not able to properly assign them their first default rank. It was leading to circular references.
  • Fixed an issue with color codes not being translated correctly with placeholderAPI.
  • Prison has a rank cost multiplier where ranks on different ladders can increase, or decrease, the cost of all ranks the player buys. So when they prestige, it makes ranks A-Z cost more each time. What's new is that now you can control which ladders these rank cost multipliers are applied to, such as not on prestiges, but only on default.
  • Fixed calculations of the placeholder prison_rank__player_cost_rankname. It was not fully working with every possible rank on every possible ladder. Now it works correctly if trying to get the player's cost for even many prestige ranks out (it includes cals for all A-Z mines at multiple passes).
  • Mine bombs: Changed to only allow mine bombs to be setoff withn mines the player has access to. Fixed an issue with color codes within the mine bomb's tags.
  • Fixes issues with NBT, color codes with prison broadcast commands.
  • Rewrote topN for better performance: /topn. Older players are archived within topN and can be queried: /topn archive.
  • Update ladder details on a few commands.
  • Update XSeries from v8.8.0 to v9.0.0 so prison now supports 1.19.x blocks.
  • Bug fixes with first join events. Bug fix with a few guis.
  • CMI update: If CMI is detected at startup, and delayed startup is not enabled, prison will go in a simple delayed startup mode to allow CMI a chance to enable it's economy through vault. This reduces the learning curve with CMI users.
  • New feature: Prison will now make an auto backup of all files in it's directory when it detects a change in version. Can manually backup too. The backup stores temp files then removes them from the server, this helps keep the server clean.
  • Update bstats: Gained control of the account and started to add useful custom reports to help zero in on what we need to help support.
  • More work on block converts. Will be added in the next alpha releases.
  • Bug fixes: mines gui fixes for virtual mines. Sellall bug fixes. Placeholders fixes.

rbluer added 30 commits June 27, 2022 23:53
…rnal placeholders.

This bug fix was included with the deployment of alpha.12 to spigotmc.org.
Added defaults for auto blocking, and for auto features with support for *all* blocks.
…limit so this makes a few adjustments to try to get prison to work with bstats.

Basically plugins that load last will be unable to report their stats since every single plugin that is using bstats submits on it's own, and therefore it quickly reaches the limits.
…sellall is enabled. Many locations were directly checking config.yml, but the new setting has been moved to the modules.yml file.

If config.yml has sellall enabled in there, it will be used as a secondary setting if the sellall setting in modules.yml is not defined or set to false.  Eventually the config.yml setting will be removed.
…not have to be duplicated all over the place, which can lead to bugs with typos.
…olderKey, which is what would like the search results on the raw placeholders, with the actual data that is tied back to the player.

In otherwords, without the PlaceholderKey it was not possible to extract the player's data to be displayed within the command: /prison placeholders search.
…ss so it's easier to find if it is needing to be changed.
…mmand and the command prefix which is used if there are duplicate commands found during bukkit command registration.
…the default ladder and prestige ladder, for the "next" rank but are linked together.

They only apply to the default ladder and the prestige ladders.  The tags are only shown if the player has that rank, or if that will become their next rank.
These ONLY show the tags that will be appropriate when the next rank up.  So if the can still rankup on the default ladder, then only the default rank shows the next ranks tag.  If they are at the end of the default rank, then it will show the next rank on the prestiges ladder; if they do not have a rank there currently, then it will show the next prestige rank with the default rank showing the first rank on that ladder.
…rison plugin folder.

When finished, it will delete all temp files since they have been included in the backup.
The new command is `/prison support backup help`.
…e in the root of the zip file which contains all of the "prison support submit" items.

This is just about ready, but lacking support for auto backups when prison versions change, or job submission to run auto backups at regular intervals.
… with running the rank commands. Fixed by rewriting how the first join event is handled.
…e 3 sections and they were combined in to one so it would not bypass any.
… with running the rank commands. Fixed by rewriting how the first join event is handled.

Did not commit the call to the new function.
… logs when a new prison version is detected on startup, which also performs a backup.

All backups are also logged in the versions.log file too.
… charts or add new ones in the near future.

Got control over the prison bstats so can now add custom stats.
Added 4 new custom charts to split the plugins in to 4 parts.
It was always bypassing the previous version check, so it was always creating another backup.
N0rbelio and others added 24 commits August 21, 2022 11:32
…ow bypass the player validation until ranks have been configured.
This reports all plugins that have been integrated through Vault.  This report does not impact any other plugins report.  This is segmented by integration type.
… an issue when starting the server an a player has no rank.

Was using a mix of really old code, and the latest code, which caused a conflict since neither was doing what it was really supposed to.
… auto update this plugin, which would need to be consented to anyway, but I feel that admins need to be in full control of updates and know what is included in the updates. There was identified a potential exploit called zip-slip-vulnerability that could hijack a server if malicious zip is extracted. Prison never used this tool, so it's been fully disabled with no intention of reenabling. It may be deleted in the near future.
…nes that the player actually has access to.

Not finished with it... will add clickable links to them when in game.
…prison_r_lmt_rankname`.

Similar to `prison_rank__linked_mine_rankname` but uses the mine's tag instead of the mine's name.
… off blocks remaining and percent remaining.

The calculation for volume was using the surface area and not the total number of blocks.
@rbluer rbluer merged commit 038b935 into master Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants