Cuberite Forum
[Plugin] Waypoints r2 - Exploration made convenient. - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: [Plugin] Waypoints r2 - Exploration made convenient. (/thread-247.html)



[Plugin] Waypoints r2 - Exploration made convenient. - Luthrandel - 12-29-2011

This is not a warp or portals plugin although you could probably configure it to more or less act as the latter. The goal was something akin to Diablo 2 waypoints, or fast travel in more modern rpgs. That means, by default, players must visit the waypoints before they can make use of them. Encourage them to explore your worlds (multi-world supported).

-Developed by Omencraft.com Team (Luthrandel)

Instructions
To place a waypoint stand on the location where the waypoint is to be centered (like on top of a pillar) and use the "/wpset [name]" command. A block (lapis by default) will be placed on your location that signifies this waypoint center. If you do not wish for a block to be placed at waypoint centers you can change the "block" setting in waypoints.ini to 0 and this feature will be disabled.

To link multiple waypoints together one only has to use the "/wpconfig net [number]" command from within the waypoint radius (3 blocks away by default). The [number] argument tells the waypoint which network it should join. The other method of linking waypoints is the "/wpconfig recall [number]" command. This sets the recall point to the id of another waypoint and can be used even if the two are not networked. Management of waypoint networks is completely automated. Further configuring can be done via the "/wpconfig" command and the "/wpinfo" command.

By either right clicking on the center block, or using the "/wp" command from within the waypoint radius, the waypoint will activate for the players account. This means it can be reached from all networked waypoints for that player. Further use of either of these will reveal a list of waypoints linked to that one.

Grey named waypoints are inaccessible without first visiting them but white names have either already been visited, or are publicly accessible at any time. Usage of the "/wp name" or "/wp id" commands will bring the player to the desired listed waypoint. Some waypoints may have a recall point which will show up as a blue name. Recall points can always be used via the "/wp r" or "/wp recall" commands.

Updates
  • [R2] - 12/29/11
    • Numerous bug fixes. Should be safe for general use now.
    • Added /wpjump for general admin convenience.
    • /wpset will now overwrite existing waypoints if the same name is used.
    • Waypoint blocks are now removed when waypoints are deleted/moved.
    • Recall point support was added.

Basic Commands
  • /wp
    • Desc: This is the universal waypoint command players call to activate waypoints, view linked waypoints, and to travel between them.
    • Perm: waypoint.waypoint
  • /wpset [name]
    • Desc: Creates a waypoint at the users current position.
    • Perm: waypoint.config
  • /wpconfig
    • Desc: Configures a waypoint.
      Options:
      • name [string]
      • size [number]
      • open [true/false]
      • hide [true/false]
      • net [number]
      • recall [number]
    • Perm: waypoint.config
  • /wpdrop
    • Desc: Deletes the waypoint at players position.
    • Perm: waypoint.config
  • /wplist
    • Desc: Lists waypoints.
    • Perm: waypoint.config
  • /wpinfo
    • Desc: Displays configurable info of the waypoint at players position.
    • Perm: waypoint.config
  • /wpjump [name/id]
    • Desc: Jump to a waypoint from any location.
    • Perm: waypoint.jump

Config
  • Settings
    • block - Sets the center block of the waypoint. Set to 0 to disable this feature.
    • meta - The meta value of the center block. Ignored if block is set to 0.
  • Default (These values can also be added to any waypoint below)
    • radius - The default size of all waypoints not set to do otherwise.
    • open - The default open value for waypoints. Setting this to true allows certain waypoints to be used without activating them first.
    • hide - Default hide value of all waypoints. Set to true to hide unactivated waypoints by default.

Downloads
Dropbox


RE: [Plugin] Waypoints r1 - FakeTruth - 12-29-2011

Wow, very nice! Must have taken quite some time to create this :O

You can also try to hook the plugin into the WebAdmin so you can administer the waypoints from your browser instead of the game (might be easier)


RE: [Plugin] Waypoints r1 - Luthrandel - 12-30-2011

Hmm a web interface. Sounds like fun. I'll save that one for Waypoints r3. :)