Transaction Sign Scrollable Amount tweaks
patrick-layden opened this issue ยท 0 comments
(Copied from BukkitDev)
The new feature "allow-scrolling-transaction-signs" is very cool :)
I thought about a few enhantements.
Hybrid scrollable signs (some signs are NOT scrollable)
Back to default amount after Z seconds
Max and Min on scrollable amount
- Hybrid scrollable signs
Would it be easy for you to change the code to have signs that ARE scrollable and some signs that are NOT.
When I create signs with the Fixed amount (1) then it would not be scrollable.
When I create signs with "X" as the amount, then it would be scrollable.
Does that make any sense? Maybe you can have this "hybrid" feature turned off by default and those who want it can turn it on in the config. This way, any existing servers with your plugin would not get impacted by this change.
- Back to default amount after Z seconds
Also, it would be cool if the scrolling amount could go back to 1 (or some specified number) after some idle time. This would allow players to buy large amount and then after a number of seconds (specified in config) the amount would revert back to the number that this was at when created originally. The next player wont have to scroll it back all the way down. So creating a sign with amount 32 would return back to 32 after Z seconds of the sign not being used.
Now if you combine that with my "X" amount idea for scrolling above, then creating a sign with "X/32" as the amount would mean that the amount is scrollable but start at 32 and revert back at 32 after Z seconds being idle. Does it make any sense? - Max and Min on scrollable amount
A third suggestion would be about the limits on how high you can scroll it up to (and how low). It does not make any sense to me to allow the amount to be anything lower than 1 in my opinion. Any reason it allow you to select 0 (zero) ? Some new players think the sign is broken because it says "You cannot buy less than 1 ". Well if you cannot, it should not let you try :)
And the max... how about putting it in the config? For my case, I dont think the max should be more than 64. If they want to buy more they can click on buy multiple time. Maybe if this is a config it would allow every server to specify their own max. The default could be 0 which means unlimited, what it is now. This way this change does not affect any existing server.
One of my problems is that some "smart" kid get it very high just to annoy others. There is no way for me to know who those users are since core protect does not capture "mouse scrolls".
Whatcha think?