Code Monkey home page Code Monkey logo

josewowgame2888 / tracksystem Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 29 KB

TrackSystem is a basic concept based on the daily tools of the servers with better handling in a matter of moderation, the idea arises from being able to take and capture clear evidence about people who break the rules. TrackSystem allows you to specify a player and the same system will not allow you to separate yourself from the player within a radius of 20 blocks. Note that if the player changes the world, the system sends you to the world of the player you are specifying.

Java 100.00%

tracksystem's Introduction

tracksystem's People

Contributors

josewowgame2888 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hanbule lycol50

tracksystem's Issues

Sometimes the redstone is not cleared from the players inventory after closing a session

After closing a session sometimes the redstone is not cleared from the player's inventory other times the entire inventory is cleared from the player.

I would recommend the following steps in this order:

  1. Store a copy of the player's gamemode, inventory and location at the time of the command in memory or on disk (or both).
  2. Clear the inventory and add the special item.
  3. Put the player in the session.
    On player exit session schedule a task to:
  4. Clear the inventory and add back the stored copy of the inventory.
  5. Teleport the player back to where they were and set the gamemode back to what it was.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.