CraftWandererAlpha v0.3.0 For Bukkit 1.7.2

This plugin logs all players’ names to a sign block that come within a preset number of blocks (set by the player) of where the sign is located.

To use this plugin all the player has to do is put down a sign block anywhere and add it to the list of existing signs(that get updated by the plugin, update time set by the server admin). Therefor if the player just wants to know who visited them when there were offline, or maybe a player was griefing their work, with this plugin the player will know who was there.

This plugin even lists players that are invisible, so if a player is getting trolled by another player in game, using the 'cw-whos-closest' command will display the name of the player that is closest to them, AKA the troll.

Every time the sever logs all players within the given number of blocks for that sign blocks being updated, there names will be added to that sign, players are added going by order of who was closest to the given sign on the update.

Note:

  • This plugin doesn’t display what players were there before the sign was added.
  • This plug should be used with other anti griefing tools to stop the sign from being destroyed.
  • This plugin is still a working in progress, and this is just a basic working release of the plugin.
  • Currently only four players are listed per sign, as there is only four lines on a sign!
CommandsPermissionsDefaultUsage
/cw-start-loggingCraftPlugin.cw-start-loggingopSet the server to update the signs.
/cw-stop-loggingCraftPlugin.cw-stop-loggingopStop the server from updating the signs.
/cw-add-sign <blocks>CraftPlugin.cw-add-signtrueAdd another sign to be updated, default set to 200 blocks.
/cw-whos-closestCraftPlugin.cw-whos-closesttrueDisplay who is the closest player to you.
/cw-updateCraftPlugin.cw-updateopForce the plugin to update all the sign on the server.
/cw-set-defaultCraftPlugin.cw-set-defaultopChange the default value that is used to start the server logging or not after start/reboot.
/cw-set-timeCraftPlugin.cw-set-timeopChange the TimeDelay value between logging, 1 = 1 minute, .5 = 30 seconds, .25 = 15 seconds.

Plugin Setup:

  1. Drag and drop the plugin into the bucket plugin folder and reload the server.
  2. This plugin creates a directory called ‘CraftWanderer’ and creates a file called CraftWanderer.xml.
  3. More information in the xml file, open in xml viewer.
  4. This plugin doesn’t use any databases!

Admin Usage:

  1. When the plugin is first loaded it's set to automatically update the signs that are in the update list in the CraftWanderer.xml file (As there are no signs in that list nothing is updated).
  2. You can stop the plugin from updating by running the command ‘/cw-stop-logging’, and to enable again just run ‘/cw-start-logging’.
  3. If you don’t want the plugin to automatically update all signs after ever reload, form the server command line run '/cw-set-default false'.
  4. If you want to change the delay between every update, form the server command line run '/cw-set-time 0.5' e.g. for 30 seconds.
  5. The CraftWanderer.xml is also used to save the locations of the signs that a player has added, if at anytime the CraftWanderer.xml is deleted just reload the plugin and the file will be recreated with the default setting, all signs that were saved to the CraftWanderer.xml file will lost when the file was deleted.
  6. Bukkit server logging, the plugin will only log on the server command line on start up or if an error has occurred.

User Usage:

  1. Put down a sign block and set the fires line to [add-sign].
  2. Enter '/cw-add-sign 10' in the chat. (Log ever player within 10 blocks of the sign)
  3. Right click the sign with a empty hand.
  4. To delete the sign, just remove the sign.
  5. Sign will display the last 4 players that ware close to the sign.

Work in progress:

  • Getting some stats for this plugin e.g. is it being used and how often! (MetricsLite as of v0.3.0)

Comments

Posts Quoted:
Reply
Clear All Quotes