Comments (3)
Gbergz: I meant in how we handle it internally; We could cancel the thread, but we'd need a reference to it. Alternatively we could use a concurrent map to store block teleporting from, and check periodically, but an efficient implementation would have to be found.
from gunpowderteleport.
I think this would be best configurable, but cancelling it immediately might be kinda tricky with the way we currently handle it. Comment for ideas on how to rewrite the current system (Thread.sleep in another thread) for this, or if we should just use a PlayerPreTeleportCallback.
from gunpowderteleport.
An idea instead of cancelling it immediately is you can move around freely on the block you're standing on, but as soon as you enter another block it cancels. Just so it doesn't cancel if you accidentally clicked the wasd buttons for 0.01s.
from gunpowderteleport.
Related Issues (14)
- Homes and Warps get reset for all players HOT 7
- Disable and limit the use of back
- Add a Cost to teleport HOT 1
- Home keeps disappearing HOT 1
- 1.17 Home Command Not Recognized HOT 2
- Add /setspawn and /delspawn commands
- Teleport arrival position & orientation issue HOT 1
- rtp: Its possible to rtp past world border, instantly killing the player HOT 3
- [Suggestion] Add the /back command? HOT 1
- Teleporting across dimensions resets xp bar temporarily HOT 2
- [BUG] MySQL Crashing HOT 5
- [Suggestion] Allow admin to decide how many homes a player can set HOT 3
- Non-admins can set warps HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gunpowderteleport.