A BigBrotherBot plugin which retrieves clients coordinates on UrT 4.2 modified servers. This plugin is meant to be used as subplugin since it doesn't provide commands or visual reaction to B3 events.
This plugin fires 2 new events (fired at most every position_update_interval
seconds):
EVT_CLIENT_MOVE
: when the player moves across the mapEVT_CLIENT_STANDING
: when the player is standing on the same location
When a new position is being retrieved the plugin a new attribute to the b3.clients.Client
object: position
. This
attribute will hold the position coordinates:
client.position.x
: the X coordinate as floating point numberclient.position.y
: the Y coordinate as floating point numberclient.position.z
: the Z coordinate as floating point number
Latest version available here.
This plugin is meant to work only with B3 version 1.10dev or higher. No 1.9.x version will be released since the plugin makes use of some new B3 core features which have been added in version 1.10 development branch. Also, the plugin needs a modified UrT 4.2 server engine to work: you can ask more information on the B3 forums.
Drop the urtposition
directory into b3/extplugins
.
Load the plugin in your b3.ini
or b3.xml
configuration file:
<plugin>
<plugin name="urtposition" config="@b3/extplugins/urtposition/conf/plugin_urtposition.ini" />
</plugin>
[plugins]
urtposition: @b3/extplugins/urtposition/conf/plugin_urtposition.ini
- initial release
- fixed mixed missing configuration file header
- correctly discard empty lines in 'position all' command response
If you have found a bug or have a suggestion for this plugin, please report it on the B3 forums.