OfflinePlayer
This plugin allows easy and simple modifying of offline player data.
Commands/Permissions
| Command | Description | Permission |
| /offline echest <playerName> | Opens the player's ender chest allowing you to modify it | offlineplayer.echest |
| /offline fly <playerName> <0/1> | Enables/disables flight for the player | offlineplayer.fly |
| /offline gm <playerName> <0/1/2> | Changes the players game mode | offlineplayer.gamemode |
| /offline inv <playerName> | Opens the player's inventory allowing you to modify it | offlineplayer.inventory |
| /offline location <playerName> <x> <y> <z> <world> | Set the player's location | offlineplayer.location |
The following commands are only available if the required dependency is installed.
Essentials
| Command | Description | Permission |
| /offline socialspy <playerName> <0/1> | Enables/disables social spy for the player | offlineplayer.socialspy |
API
Include OfflinePlayer in your build bath, and add it as a dependency within your plugin.yml file.
OfflinePlayerFile offlinePlayer = new OfflinePlayerFile(playerName);
Other constructors available. See source for more information.
Maven
<repositories>
<repository>
<id>confuser-repo</id>
<url>http://ci.frostcast.net/plugin/repository/everything</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.confuser</groupId>
<artifactId>OfflinePlayer</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
Source
GitHub
Updater
This plugin contains an auto updater which is enabled by default. If you do not wish to automatically download new updates, edit OfflinerPlayer/config.yml and set autoUpdate to false.
Metrics
To determine popularity and usage of OfflinePlayer, plugin installs are automatically tracked by the Metrics plugin tracking system. Your Java version, OS, player count, server country location and plugin & server versions are collected. This is used to determine what environments are using the plugin to ensure full compatibility. This collection is anonymous. If you don't want this tracking, edit plugins/PluginMetrics/config.yml and set opt-out to true.
