OfflinePlayer
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
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.
@TH3D3RPYW4RR1OR
Same for me, can you pls fix this?
@TheBlackBeltPanda
I get the same error.
I keep getting an error saying the player does not exist. =/
@JeffMeikle
Says who? You aren't the author and from what i can see on previous comment pages, the author DOES respond to people's comments...
I'm interested in this plugin; if it works...
@MCTylerPVP
good for you bye now :) some of us are actually interested in this plugin..
What a forumn...for the Author only!!! What does he do?, comment to himself? lol I already deleted this plugin.
@MCTylerPVP
since your not the author your comments are ignored...
Offline Player is completely Tango Uniform with the latest Craftbukkit version...Just letting you know. (Tango Uniform is dead, or rather a graphical representation of how you are when your dead...Tits Up)
@JeffMeikle
The author knows about it....When he's not busy he will fix it.
this plugin causes an Could not pass event InventoryClickEvent to all other plugins for example modify world... and LWC
@MCTylerPVP
I think I need to do this but I don't know how...Can you help?
@MCTylerPVP
I uploaded an error log... Offline Player Error Log
I went and reread this error log, This seems to have occured because of a plugin I have to maintain offline players inventories and not Itemnetwork as I originally called it. Everyone is blaming your plugin for this error, Can I fix it?
Works on 1.6.4?
@jenks1999
What minecraft version are you running on the server?
2014-02-11 03:31:10 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin OfflinePlayer v1.1 generated an exception while executing task 565 at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Unable to find method getTypeId ([]). at com.comphenix.attribute.NbtFactory.getMethod(NbtFactory.java:705) at com.comphenix.attribute.NbtFactory.getMethod(NbtFactory.java:704) at com.comphenix.attribute.NbtFactory.<init>(NbtFactory.java:321) at com.comphenix.attribute.NbtFactory.get(NbtFactory.java:301) at com.comphenix.attribute.NbtFactory.fromStream(NbtFactory.java:427) at me.confuser.offlineplayer.OfflinePlayerFile.<init>(OfflinePlayerFile.java:31) at me.confuser.offlineplayer.commands.GameModeCommand$1.run(GameModeCommand.java:46) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
any ideas as to why?
Awesome thanks James :p
@CloudeLecaw
It's currently awaiting approval.
Aww, damn. I also need it for 1.6 :/
v1.1 uploaded.
Added echest.