Prison Documents - Table of Contents
These known issues are an informal list of concerns and bugs. Also includes some wish-list items too.
Not everything is logged here. Please see the changelog for fixes and new features that were actually added.
These are notes for personal references. These are not intended to explain anything useful, but they do track some issues and perspectives that may not be fully expressed in the change logs because initial impressions may not turn out to be the actual problem or the final course of changes and enhancements.
Resolved issues have been relocated to:
DONE: Added support for BlockPlaceEvent to allow this - editid - Mine bombs cannot be placed in a mine that is protected by world guard, which is reporting that the player does not have access. Had to allow players to place blocks in mines, which is not appropriate.
Reported that a freshly placed mine would not work with an /mtp command - noza3 (marked as done below since it could not be reproduced, but should test with a new build)
Auto pickup is not working when OP’d in creative mode vs survival mode. - Axar
New alpha release for alernos - drops and sellall are messed up - notify when published to spigotmc.org - slab
break one block but blocks counts register 2 - Aimatt
On the new cmdStats details, add nano run times for commands so we can include avg run times.
edit would spawn red/yellow wool - remove blocks - save would only save the wool blocks.
NOTE: This is an issue with Google Guava. I am not sure why it submits all listeners twice, but it does.
/ranks player
is not including all of the info for rank multipliers like it should have.
admin - prevent you breaking mine liners - me… on other people’s servers. lol
It looks like the following text field is no longer being used, but it should with the placeholders prison_mines_timeleft_minename
… looks like it’s using the long version. May want to provide a short and long format? Long (the current default) may be way too long…
core_text__time_units_short=y,m,w,d,h,m,s
There is a potential error with the class tech.mcprison.prison.util.TextMessage in that all of the messages are using .withReplacements( "%s" )
but yet none of the text components are using parameters. So if a parameter is added to any of those, the %s
could potentially cause errors!? Need to test and if errors, then remove all of the .withReplacements()
in that class.
BlockConverters
placeholder bar debug is not showing anything useful.
/mines custom <block/item> <namespace> <hand> <value>
Transaction logs - Rankup and player joins would be good to take these messages out of the console.
auto pickup off, nothing was dropping. LurgenAU
autofeatures BLOCKEVENTS priority - include backpacks on auto sell - Ryankayz
TopN for tokens - Phoung Nguyen
(done ??) auto features autosell - tie to sellall’s player toggle - Ryankayz
SQL support - Six
Mine Resets - Glass block not being removed - harold
{prison_player_sellall_mutiplier::nFormat:#,##0.0000}
GUI forces admins to run auto configure. Review and remove?
HiPriority: calculated infinite prestiges - Fluffy_ak47
HiPriority: sellall for custom items
In mines block list, new feature to prevent drops for that item… which then can use blockEvents, but that would bypass auto pickup and autosell.
https://discord.com/channels/332602419483770890/943874819101982790/943905937641574420
%prison_rrt% (prison_rankup_rank_tag) Does not show the next prestige rank if you are not on the prestige ladder yet
custom block support: Items Adder - No one is using it currently.
/mines set rank *all*
/mines set mineAccessByRank *all*
/mines set tpAccessByRank *all*
add /mines set resetTime *all*
custom blocks not working with sellall. Sellall is not honoring the custom block’s names.
Add ItemAddr for another custom block integration
Smelt and blocking: rewrite to provide a list of conversions to eliminate current hard coding.
Auto smelt is missing some blocks? Symadude23
placeholder attributes: Add overrides for “units”. kstance requested it for time, such as h,m,s…
Need to get CustomItems working with sellall
sellall get player multiplier needs to be rewritten - cached? Currently goes through all perms
automatic prestiges
Rankup commands: placeholders for {promote}{demote}
Mine reset notifications logging to console - options?
sellall updates every second - different messages - but never show first one - PlayerMessages
-> Support for eco enchants:
Need to add an event listener and then have a new function in EnchantmentUtils handle the event, with passing continuing to call the normal rehandleBreaking. Maybe name it rehandleBreakingEvent? https://github.com/Auxilor/EcoEnchants/blob/master/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/BlastMining.java https://github.com/Auxilor/EcoEnchants/blob/master/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/EnchantmentUtils.java
calculate mine worth?
ShiftAndRightClickSellAll is not working
Found a problem with mcMMO, Quest, and EZBlock support… only works on BlockBreakEvents. I added logging to identify when they are called, but if an explosion has 20,000 blocks, then it will log 20,000 times! 😂 So I need to figure out something before hooking it up to multi-block breaks.