Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/projectbarks/nxpads
- Owner: ProjectBarks
- License: apache-2.0
- Created: 2013-10-07T20:13:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T16:48:36.000Z (over 7 years ago)
- Last Synced: 2024-11-14T19:47:05.784Z (3 months ago)
- Topics: bukkit, bukkit-plugin, java, minecraft
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.