Coder Social home page Coder Social logo

andulv / scripteddrone Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 176 KB

Plugin for Bukkit / Spigot Minecraft servers. New entity: Drone. Can be controlled by player through in-game commands or through a web interface. The web interface allows for user created Javascript to control the drone.

Java 100.00%

scripteddrone's People

Contributors

andulv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

scripteddrone's Issues

How to handle lava (and water)

Drone does not allow to be moved into liquid by commands.

But it seems like it is possible to push a drone into lava (liquid). And since the drone will not move into liquid , it is basically stuck if there is liquid on all sides.

I experienced this when drone was digging a 1x1 hole straight down and I was standing on top of drone while jumping/flying at the same time as the drone encountered lava below.

Simple solution: If in liquid, float up one block at a time. If up is blocked (by solid block) then die.

Throttle access to dronecontrol api

In requesthandleraction: Keep a dictionary of drones, and time of last action request.
Return 420 (Enhance your calm) if time since last request<configured value (default .5 seconds?)

Simple authentication

Let user set passphrase/code with in game commands.
Could be autogenerated as default and let user override.

The passphrase/code must be supplied to control the drone. Probably as part of URL.

Alternative: User must login to webapi/site with mojang account.

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.