Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/projectbarks/nxpads

A minecraft plugin for Bukkit servers that allows for two pads to be placed and users to then be sent to the other pad smoothly.
https://github.com/projectbarks/nxpads

bukkit bukkit-plugin java minecraft

Last synced: 22 days ago
JSON representation

A minecraft plugin for Bukkit servers that allows for two pads to be placed and users to then be sent to the other pad smoothly.

Awesome Lists containing this project

README

        

# NXPads

A minecraft plugin for Bukkit servers that allows for two pads to be placed and users to then be sent to the other pad smoothly. *This project is **outdated** and most likely will not execute on a modern minecraft server. However, this was one my first projects and reflects my progression as a developer of and would love to share with everyone.*

### Commands

| Command | Description |
| ----------------- | ---------------------------------------- |
| /pads pos1 | Sets the position of the launch pad that the player will be sent from. |
| /pads pos2 | Sets the position of target pad that the player will land at. |
| /pads save | Takes the two positions set by the user and saves it perminantly |
| /pads delete [id] | Removes a saved pad |
| /pads list | Lists all pads and their according ids |

### Equation

In order to properly calculate the players projection to the platform an equation was drafted from minecraft's sourcecode to proply send one user to another side of the map. The equation that was created is represented as following:



Please feel free to use this in your own project as well. The java implementation is available in the `getVectorToTarget` method in [this](/src/main/java/com/projectbarks/targetpads/Commands.java) class.