Cuberite Forum

Full Version: PointsOfInterest
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my very first plugin, so it might save some quirks. I have, in fact, started learning lua yesterday Blush.

[Image: q574Wb8.png]

Points Of Interest allows you to create "waypoints" using signs.
Players can search for them and claim them by right-clicking the sign, which encourages exploration.

Commands
/poi update - Updates the POI database (used when manually editing the database).
/poi claimed {player} - Shows a list of all claimed POIs.
/poi ammount - Shows a total number of all created POIs.
/poi list - Shows a list of all created POIs.
/poi remove [id] - Removes a POI with a specific id.
/poi purge [id] {player} - Removes all claims of a specific POI id. (Optionally only deletes claims of a specific player)
/poi purgeplayer [player] - Removes all claims of a specific player on all POIs.

See the source for a list of permisions: https://github.com/nixi-awoo/points-of-interest

How to create a Point Of Interest
Place a sign anywhere in the world. The first line has to contain [poi] or [POI].
Second line has to be the name of the new POI.
After creating the sign, its lines will be automatically updated.
If you see a confirmation message appear in chat, the POI has been created.

Feel free to leave any feedback
Report bugs or submit suggestions to the repository issue tracker
(https://github.com/nixi-awoo/points-of-interest/issues)

Source: https://github.com/nixi-awoo/points-of-interest
Download: https://github.com/nixi-awoo/points-of-i...master.zip

Thanks to PureTryOut for making me start using lua & Cuberite <3
Nice work!
Nice, but I encourage you to describe your plugin better. I wouldn't want to look in the source just to find out what commands I can use with it.

Or even better, use the Info.lua: http://mc-server.xoft.cz/LuaAPI/InfoFile.html and use the DumpInfo plugin to automatically generate all the text for both the forum and Github.
If you're using the ZeroBrane Studio with the Cuberite integration package, it integrates the DumpInfo directly in the IDE in the menu Project -> Cuberite InfoDump