Skip to content

sign-attached-block destroy prevention#2

Open
ArmEagle wants to merge 100 commits intomjmr89:masterfrom
ArmEagle:master
Open

sign-attached-block destroy prevention#2
ArmEagle wants to merge 100 commits intomjmr89:masterfrom
ArmEagle:master

Conversation

@ArmEagle
Copy link

Added prevention of block removal when there's a sign attached to it
of a TradeCraft shop the player is not allowed to destroy.

This is my first time using GitHub like this. I did some basic testing but feel free to do a code review and more testing.

ArmEagle added 30 commits March 30, 2011 01:56
of a TradeCraft shop the player is not allowed to destroy.
If config files (.properties and .txt) do not exist, default files
will be copied from the jar file.
Removed several warnings (changes across a lot of files)

Changed version to 0.81AE to mark it as modified

Working with Bukkit#495/CB#617(RB)
using TradeCraft.canSetCurrency permission entry.
loaded (code was missing call to .load()).

Currency is saving and used correctly now.

All references to "gold" are replaced by the name of the current set
currency.

And probably some other small changes I already forgot about.
Prevented invalid object type to be set as currency (not existing
name/id).
true). If true the player name on a shop sign has to match the actual
player name. If set to false, the actual player's name only has to
start with the name set on the sign.
is disable and then enabled.

Clears some memory use on disabling.

Prevents event listeners from triggering when the plugin is disabled
(really need to be able to unhook listeners).
the command that lists the shops owned by the player
Fixed permissions check on placing of a sign (now using new style,
lines from event).
from distance (server reverts, client will let you type text on the
sign, but the sign won't be there).
signs with item name line "[name]" if "name" is found in the
configuration file.
data-value item in txt).

Fixed some small things.

Changed version to AE-1.0.0-alpha
used as lookup in a hashmap (used for plugin myShops command).
ArmEagle and others added 30 commits December 7, 2011 22:51
Prevent NPE when currency is not in the items file (only to override
the default item name).
- Fixed bug in translation code, would still try to default to
English language file
config and does not exist in there.
accept and listen other plugins canceling events we're interested in.
…ow so on first use there will be no issues."

This reverts commit a1154e4.
- Now blocks piston events if it would move a sign or the block behind
it.
- Two new settings "player-world-shop-limit" (default 5) and
"player-total-shop-limit" (default 10) that limit the amount of shops
any player can have in a world and in total. For this two translation
lines were added: WORLD_SHOP_LIMIT_X and TOTAL_SHOP_LIMIT_X. These
aren't automatically taken over by the existing language files!
- Moved all files into a source subdirectory
- Removed support for old Permissions plugin, now only supporting Bukkit's built-in system.
- Cleanup up tabs for whitespaces
…support for old Permissions plugin, now only supporting Bukkit's built-in system. - Cleanup up tabs for whitespaces"

This reverts commit 6adf701.
- Moved all files into a source subdirectory
- Removed support for old Permissions plugin, now only supporting Bukkit's built-in system.
- Cleanup up tabs for whitespaces
…instead of RIGHT_CLICK_BLOCK. Scan ahead 2 blocks in those situations instead and try to find a block that way.

Version upped to 1.4.1.
Fixed: When standing too close, a RIGHT_CLICK_AIR event can be fired instead of RIGHT_CLICK_BLOCK. Scan ahead 2 blocks in those situations instead and try to find a block that way.
Version upped to 1.4.1.
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.

1 participant