PlayerLocations

Player Locations

Overview

Player Locations is similar to other player marker plugins, but allow the commands "/hide" and "/unhide" so players may choose if their location shows up on the world map. Their status will still be available, though their coordinates will not be. In order for this plugin to be fully effective, a mapping plugin / application, modifications to the index.html, and the included javascript file are required. I use overviewer for my mapping software.

  • v0.5 Tested OK in CB 1.2-R0(DEV)
  • <v0.4 Tested OK in CB 1.1-R1

Features

  • Output player locations in JSON format
  • Allow players to /hide and /unhide
  • Only update when neccessary
  • Allow OPS to hide and unhide players
  • Allow the console to hide and unhide players
  • When in the nether, a player's corresponding overworld coordinates are rendered on the map

Configuration

  • outputFile (default: "map/markers.json") the destination JSON file
  • updateInterval (default: 3000) the milliseconds between update checks

Installation

  • To install the plugin, just simply place the jar in the plugins directory.
  • Copy the player_markers.js file to the web directory where the index.html file is located
  • Modify the index.html of your world map to include:
<script type="text/javascript" src="player_markers.js"></script>

Alternatively use the index.html file included. There are additional features such as a list of currently online players.

Commands

  • hide <player> Hides a player's location on the world map. If no player is specified, the current player is used. Only ops and the console may hide others
  • unhide <player> Unhides a hidden player's location on the world map. If no player is specified, the current player is used. Only ops and the console may unhide others.

Bugs

This is still not world dependent, though instead of incorrectly showing players on the overworld map, their corresponding overworld coordinates are used. (A way to turn a bug into a feature :))


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    35574
  • Created
    Jan 11, 2012
  • Last Released File
    Mar 1, 2012
  • Total Downloads
    6,407
  • License

Categories

Members

Recent Files