ExperienceShelves
Inspired by the defunct plugin MagicBookshelf by Derthmonuter, this plugin makes reaching those high levels easier. This plugin allows you to store and withdraw your experience with a simple click of a bookshelf. That's all there is to it.
Features
In order to store and withdraw from a bookshelf, you must either have an empty hand or the creation tool in your hand. Left click a bookshelf to store your experience in the bookshelf. Right click to withdraw experience from the bookshelf. Before you can store any experience in a bookshelf, you must first create it. This is done by using the creation tool which is configured in the config file.
If you are looking at the bookshelf, you can use commands on it. The commands are detailed below.
Commands
There are two commands and for a command to work you must be looking at the bookshelf:
- /xps lock - Locks the bookshelf so that no player can interact with it. This also stops all animations on the bookshelf.
- /xps balance - Shows you how much experience is in the bookshelf.
- /xps move start - Starts move mode. This allows you to move bookshelves that contain xp without loosing the xp within.
- /xps move end - Ends move mode. This turns off the move mode so that when you destroy a bookshelf with xp (or not), it actually destroys it.
Permissions
- experienceshelves.lock - Allows you to lock a bookshelf.
- experienceshelves.balance - Allows you to view balance of a bookshelf.
- experienceshelves.break - Allows you to break ALL bookshelves.
- experienceshelves.store - Allows you to store your experience in bookshelves.
- experienceshelves.withdraw - Allows you to withdraw your experience from bookshelves.
- experienceshelves.snoop - Allows you to lock or view balance of bookshelves you do not own.
- experienceshelves.create - Allows you to create bookshelves which can hold experience.
- experienceshelves.* - Allows you to do anything you want.
Configuration
The configuration is extremely simple.
- creation-item - what item creates a new experience bookshelf. Default is 0 (AIR).
- use-in-creative - should a player be allowed to create/store/withdraw while in creative mode. Default is false.
- show-particles - Server-wide use of particles on Bookshelves. Default is true.
A few words
If you find a bug or feel the project is lacking, please open an appropriately labeled ticket. Feedback is always appreciated. If you are interested in what I am working on, visit the issue tracker and take a look at the open tickets.
How do i use the permissions? Because my friends are saying that it says "You don't have permission" when they are clicking on the bookshelf
@FTOtter
This stores experience levels. When depositing or withdrawing from the bookshelf, experience is directly added to the player.
@Badb77
To unlock, just select the bookshelf and type /xps lock.
Does this store experience orbs or experience levels? Does anyone know?
How do you unlock the bookshelf once you've locked it?
@chani0606a
I know exactly what is causing that error and will try to fix it by February 17th.
I love this plugin
except some errors..
my server stats java7 u51 , 1.7.2 spigot , window 8
[18:57:44] [Server thread/INFO]: [ExperienceShelves] Enabling ExperienceShelves v1.0.2
[18:57:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet63WorldParticles
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.PacketFactory.createParticlePacket(PacketFactory.java:40)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleDefaultVaultAnimation(ExperienceShelves.java:150)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleParticleTasksForExistingVaults(ExperienceShelves.java:75)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.onEnable(ExperienceShelves.java:64)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:303)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:285)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:347)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:324)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:280)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:436)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[18:57:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet63WorldParticles
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.PacketFactory.createParticlePacket(PacketFactory.java:40)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleDefaultVaultAnimation(ExperienceShelves.java:150)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleParticleTasksForExistingVaults(ExperienceShelves.java:75)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.onEnable(ExperienceShelves.java:64)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:303)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:285)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:347)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:324)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:280)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:436)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[18:57:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet63WorldParticles
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.PacketFactory.createParticlePacket(PacketFactory.java:40)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleDefaultVaultAnimation(ExperienceShelves.java:150)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleParticleTasksForExistingVaults(ExperienceShelves.java:75)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.onEnable(ExperienceShelves.java:64)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:303)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:285)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:347)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:324)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:280)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:436)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[18:57:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet63WorldParticles
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.PacketFactory.createParticlePacket(PacketFactory.java:40)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleDefaultVaultAnimation(ExperienceShelves.java:150)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleParticleTasksForExistingVaults(ExperienceShelves.java:75)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.onEnable(ExperienceShelves.java:64)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:303)
[18:57:44] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:285)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:347)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:324)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:280)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:436)
[18:57:44] [Server thread/WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[18:57:44] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet63WorldParticles
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[18:57:44] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.PacketFactory.createParticlePacket(PacketFactory.java:40)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleDefaultVaultAnimation(ExperienceShelves.java:150)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.scheduleParticleTasksForExistingVaults(ExperienceShelves.java:75)
[18:57:44] [Server thread/WARN]: at com.majora.minecraft.experienceshelves.ExperienceShelves.onEnable(ExperienceShelves.java:64)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
[18:57:44] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385
and so on..
looks really cool mate, might give it a shot