-
Notifications
You must be signed in to change notification settings - Fork 121
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
Lwc for spigot 1.8 and new blocks. #862
Open
Leymooo
wants to merge
1,285
commits into
5.0
Choose a base branch
from
master
base: 5.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…atching together requests inside Future tasks. #441
…s and more importantly locking issues with SQLite ( use a single connection ). this may require some tuning
…port. Also, cache output in /lwc admin report is a bit nicer.
…TE THE FOLLOWING: THIS HAS NOT BEEN FULLY TESTED OR EXPLORED. This extends LWC protections to the following major entities: Storage Minecarts, Portraits, and Item Frames. LWC has been originally designed to work with clean Block & Material objects. Making it work with entities is interesting so I _expect bugs_! * All wall entities should be protectable: portraits, item frames * => To interact with them you need to try to destroy them. * => You yourself cannot destroy a protected entity. You need to /cremove it * => Protected entities will NEVER BE DESTROYED unless /cremove'd at the moment. That means if the wall backing them is removed, the entity stays! And if water fills your beautiful palace, the entities again stay. * STORAGE MINECARTS are protectable * => Furthermore, /cmagnet WILL work on storage minecarts * => When interacting with the cart, try to open the inventory (right click) * /lwc admin cleanup has been tested and properly checks for entities but has not been fully examined * There *may* be entities that I don't know of that can be protected. I've tried protecting MOBs and it didn't work so you don't need to try that! (although LWC could probably protect mobs really easily now, but that's a different story) Again, bugs are expected at this point so PLEASE DO NOT RUN ON HUGE 300+ PLAYER PRODUCTION SERVERS! As much as I would love that, you'll probably hit a brick wall very quickly. This addresses #392 for the most part. There is s till more left to do for a full implementation however this is a good start.
…tack traces; and safe mode for the server when unrecoverable Database errors occur. #411
…B code, meaning LWC no longer uses FAST native access in key areas :(
…rt, item_frame ;)
…now as they are slowing everything down
…the ol' switcheroo with data values for block faces at some point
…x contention issues with the db pool. Needs to be assessed if writes / reads can be separated into separate pools or not.
Oh. Sorry. My first Pull Request. :( |
This uses the old deprecated method which should still support older versions of Bukkit.
The must be manually enabled in the config, i.e.: standing_banner: enabled: true wall_banner: enabled: true
…ht click open (like iron doors!)
…eir UUID. This fixes an issue where users coming from an older build would have broken /cmodify'd permissions.
… was not being checked. This has been fixed.
It is on 5.0 but not master, so api.getlwc.org was not updating :)
Added all 1.8.x wooden door/gate names for the English language file. Merge for 1.8.x update.
Before, /cprivate, etc was using the player's name. Protections created with autoRegister (i.e. auto protect when placing blocks) were being created with the player's UUID correctly.
This seems to be caused by a new bug in Vanilla. Thanks to Clovis D for reporting this.
Fix removing flags
1.8.x door/gate name support
Use UUID. Fix /cremoveall, /climits, /lwc admin purge <player>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8.36598/