Creation of Stargate API
Thorinwasher opened this issue ยท 5 comments
The official StarGate API, with the primary goal of facilitating add-on development and integration with other plugins.
Note that this is in addition to methodscript support, which can be found here.
Current Requirements (feel free to comment with additional suggestions):
- Modify portals
- Change network
- Change names
- Change owners
- Change portal types
- Change portal flags.
- Create new portals
- Force-generate portals from nothing.
- Destroy portals
- Get comprehensive information about portals.
Upon merging to main, this issue will resolve #49
Other things that would be useful for the api to do (to be edited later)
- find information about all portals in a given area and/or world
- Need to be able to change configuration values if SGCommand's /config command is to work properly. Changed configuration values should be loaded immediately.
- Need to be able to get permission information if add-ons are to be able to check permissions before performing potentially destructive tasks.
- Need to have access to the gate layout parser and saver if plugins should be able to generate gate files given some selection. Also need public access to which characters are used for the frame/iris/control blocks,
The API should also be able to support the functionality needed by existing addons.
For Dynmap, the list is on this issue: #49 .
For Methodscript, the list is on this issue: stargate-rewritten/SG-MethodScript#1