Coder Social home page Coder Social logo

hammy2899 / archoncrates Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 2.0 63.23 MB

ArchonCrates, the most popular crate plugin.

Home Page: https://archoncrates.com

License: MIT License

Java 100.00%
java bukkit bukkit-plugin spigot spigot-plugin minecraft

archoncrates's Introduction

End of Life Statement

Please read: EOL_STATEMENT.md


ArchonCrates Logo

The worlds most popular crate plugin.



Requirements

Installation

For instructions on how to install and get started with ArchonCrates visit our Getting Started guide.



Developers

ArchonCrates contains a very powerful and useful API for developers. We designed the API to allow developers to add their own features and extend the plugin to their will along with keeping it really easy and usable. You can view the API source here and the Java Docs here.

We also have some big plans for the plugin which will expand the posabiltys for developers even more, stay tuned! ๐ŸŽ‰



Contributing

If you want to contribute to ArchonCrates feel free! Before you make a pull request please make sure you have kept to our coding style and that you have no conflicts. Please also test the plugin before before you making a pull request.

Coding Style:

  • 4 Spaced tabs
  • K&R brace placement
while (something == true) {
	if(thatThing != true) {
		doThisThing();
  	} else {
		doThatThing();
  	}
}




HamiStudios

archoncrates's People

Contributors

y0hami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cpbit hotprotato

archoncrates's Issues

No Chests on Create Menu

Whenever I try to put in some custom crate items and other stuff. It does allow me to create any Crates. The GUI is glitched. Please fix ASAP!

https://pastebin.com/BcUvJHd8

  • Thank you very much :)

Also, I have another question, Is it possible to configure it to randomly drop default crate keys whenever the player kills a user in a PvP World?

Update error in console

When I join the server in console it throws out this:

[16:11:43 INFO]: UUID of player OctoberTroy is 5bce7a23-c226-4df5-80b8-b56e46b50a96
[16:11:43 WARN]: java.lang.NullPointerException
[16:11:43 WARN]: at com.HamiStudios.ArchonCrates.Util.UpdateChecker.needsUpdated(UpdateChecker.java:36)
[16:11:43 WARN]: at com.HamiStudios.ArchonCrates.Events.OnJoin.onJoin(OnJoin.java:36)
[16:11:43 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[16:11:43 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[16:11:43 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[16:11:43 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[16:11:43 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
[16:11:43 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[16:11:43 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[16:11:43 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[16:11:43 WARN]: at net.minecraft.server.v1_8_R1.PlayerList.onPlayerJoin(PlayerList.java:272)
[16:11:43 WARN]: at net.minecraft.server.v1_8_R1.PlayerList.a(PlayerList.java:156)
[16:11:43 WARN]: at net.minecraft.server.v1_8_R1.LoginListener.b(LoginListener.java:109)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.LoginListener.c(LoginListener.java:41)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:159)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.ServerConnection.c(ServerConnection.java:82)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:800)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[16:11:44 WARN]: at java.lang.Thread.run(Unknown Source)
[16:11:44 WARN]: java.lang.NullPointerException
[16:11:44 WARN]: at com.HamiStudios.ArchonCrates.Util.UpdateChecker.needsUpdated(UpdateChecker.java:36)
[16:11:44 WARN]: at com.HamiStudios.ArchonCrates.Events.OnJoin.onJoin(OnJoin.java:42)
[16:11:44 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[16:11:44 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[16:11:44 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[16:11:44 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
[16:11:44 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
[16:11:44 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[16:11:44 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[16:11:44 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.PlayerList.onPlayerJoin(PlayerList.java:272)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.PlayerList.a(PlayerList.java:156)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.LoginListener.b(LoginListener.java:109)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.LoginListener.c(LoginListener.java:41)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:159)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.ServerConnection.c(ServerConnection.java:82)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:800)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[16:11:44 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[16:11:44 WARN]: at java.lang.Thread.run(Unknown Source)

or when command is run:

[16:15:23 INFO]: OctoberTroy issued server command: /archoncrates update
[16:15:24 WARN]: java.lang.NullPointerException
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Util.UpdateChecker.needsUpdated(UpdateChecker.java:36)
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Commands.CheckUpdates.run(CheckUpdates.java:22)
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Commands.Commands.onCommand(Commands.java:109)
[16:15:24 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:15:24 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[16:15:24 WARN]: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
[16:15:24 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[16:15:24 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[16:15:24 WARN]: at java.lang.Thread.run(Unknown Source)
[16:15:24 WARN]: java.lang.NullPointerException
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Util.UpdateChecker.needsUpdated(UpdateChecker.java:36)
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Commands.CheckUpdates.run(CheckUpdates.java:28)
[16:15:24 WARN]: at com.HamiStudios.ArchonCrates.Commands.Commands.onCommand(Commands.java:109)
[16:15:24 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:15:24 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[16:15:24 WARN]: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
[16:15:24 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[16:15:24 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[16:15:24 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[16:15:24 WARN]: at java.lang.Thread.run(Unknown Source)

Yes im using the latest version of archoncrates.

1.7.10 issues

  • sounds not work
  • virtual crates gives errors
  • prizes not given to players

using dev build but same problems on all other versions

Could not pass event PlayerInteractEvent to ArchonCrates v18.0 BETA
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:242) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.PlayerInteractManager.interact(PlayerInteractManager.java:382) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:662) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:50) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.PacketPlayInBlockPlace.handle(PacketPlayInBlockPlace.java:86) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
Caused by: java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.BLOCK_CHEST_OPEN
	at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_101]
	at org.bukkit.Sound.valueOf(Sound.java:11) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at com.HamiStudios.ArchonCrates.CustomGUI.VirtualKeyGUI.open(VirtualKeyGUI.java:109) ~[?:?]
	at com.HamiStudios.ArchonCrates.Events.BlockClickEvent.onBlockClick(BlockClickEvent.java:66) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	... 15 more
[ArchonCrates] Task #914 for ArchonCrates v18.0 BETA generated an exception
java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.BLOCK_NOTE_BASS
	at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_101]
	at org.bukkit.Sound.valueOf(Sound.java:11) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at com.HamiStudios.ArchonCrates.Tasks.Crate$10.run(Crate.java:306) ~[?:?]
	at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]
	at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-208-ge0f2e95]

Add crate, key and prize validation checks on startup

Check that all crates, keys and prizes are valid when starting and warn in console of any invalid objects and add them to a disabled usage operation.

Also if any of the objects are invalid add a warning to a log file

[Support] Issue when I do /archoncrates create.

When I do the command, /archoncrates create, it says this in chat: "An internal error has occurred while attempting to perform this command" and also when I do it I get this long message in my console:

https://pastebin.com/sTpanwHP

/archoncrates help, crates, and key works just fine but create doesn't. At first I realized that I had a fatality crate but not a key so I added that and it still didn't work.

-66Herobrine66

Look into NBT tags

Take a look at NBT tags for keys and crates to keep better track of what key and crate is what and who owns them etc...

Issue with plugin...

Console Error:

[11:18:12 ERROR]: Error occurred while enabling ArchonCrates v19.1.3 (Is it up to date?)
java.lang.NullPointerException: null
        at com.HamiStudios.ArchonCrates.API.Operations.ConfigUpdater.<init>(ConfigUpdater.java:14) ~[?:?]
        at com.HamiStudios.ArchonCrates.Main.onEnable(Main.java:203) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [server.jar:git-Spigot-596221b-9a1fc1e]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [plugman.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:318) [plugman.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.reload(PluginUtil.java:380) [plugman.jar:?]
        at com.rylinaux.plugman.command.ReloadCommand.execute(ReloadCommand.java:122) [plugman.jar:?]
        at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [plugman.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:641) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:627) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:443) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [server.jar:git-Spigot-596221b-9a1fc1e]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
[11:18:12 ERROR]: Could not pass event PluginEnableEvent to Vault v1.7.1-b91
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:344) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [server.jar:git-Spigot-596221b-9a1fc1e]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [plugman.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:318) [plugman.jar:?]
        at com.rylinaux.plugman.util.PluginUtil.reload(PluginUtil.java:380) [plugman.jar:?]
        at com.rylinaux.plugman.command.ReloadCommand.execute(ReloadCommand.java:122) [plugman.jar:?]
        at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [plugman.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:641) [server.jar:git-Spigot-596221b-9a1fc1e]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:627) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:443) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [server.jar:git-Spigot-596221b-9a1fc1e]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [server.jar:git-Spigot-596221b-9a1fc1e]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
Caused by: java.lang.LinkageError: net/milkbowl/vault/economy/plugins/Economy_Essentials
        at net.milkbowl.vault.economy.plugins.Economy_Essentials$EconomyServerListener.onPluginEnable(Economy_Essentials.java:184) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-Spigot-596221b-9a1fc1e]
        ... 19 more
[11:24:13 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:13 INFO]:                       File: prizes.yml
[11:24:13 INFO]:                       Path: Prizes.Diamond16.winAmount.global
[11:24:13 INFO]:
[11:24:13 INFO]:
[11:24:13 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:13 INFO]:                       File: crates.yml
[11:24:13 INFO]:                       Path: Crates.premium.block.ID
[11:24:13 INFO]:
[11:24:13 INFO]:
[11:24:13 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:13 INFO]:                       File: crates.yml
[11:24:13 INFO]:                       Path: Crates.mystic.block.ID
[11:24:13 INFO]:
[11:24:13 INFO]:
[11:24:13 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:13 INFO]:                       File: crates.yml
[11:24:13 INFO]:                       Path: Crates.god.block.ID
[11:24:13 INFO]:
[11:24:15 INFO]:
[11:24:15 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:15 INFO]:                       File: prizes.yml
[11:24:15 INFO]:                       Path: Prizes.Diamond16.winAmount.global
[11:24:15 INFO]:
[11:24:15 INFO]:
[11:24:15 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:15 INFO]:                       File: crates.yml
[11:24:15 INFO]:                       Path: Crates.premium.block.ID
[11:24:15 INFO]:
[11:24:15 INFO]:
[11:24:15 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:15 INFO]:                       File: crates.yml
[11:24:15 INFO]:                       Path: Crates.mystic.block.ID
[11:24:15 INFO]:
[11:24:15 INFO]:
[11:24:15 INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[11:24:15 INFO]:                       File: crates.yml
[11:24:15 INFO]:                       Path: Crates.god.block.ID

crates.yml:

# 
#  Need help configuring? Visit the ArchonCrates documentation https://archoncrates.com/docs/19-1-3/files/crates
#  
crates:
    user:
        title: '&fUser VoteCrate'
        block:
          ID: 54
          data: 0
        sounds:
          open: BLOCK_CHEST_OPEN
          scroll: BLOCK_METAL_PLACE
          win: ENTITY_PLAYER_LEVELUP
        win:
          firework: true
          broadcast: true
          messagePlayer: false
        config:
          scrollDuration: -1
          scrollSpeed: 8
          showcaseDuration: 10
          colouredGlass: false
          crateEffects: true
        prizes:
        - Diamond16
        - FoodPack1
        - Money1
        keys:
        - user
        messages:
          broadcast: '&5<player>&e just won &6<prize_name> &efor voting!'
          player: If you can see this, something broke!
          wrongKey: '&4Hey! You can''t use this here!'
    premium:
        title: '&dPremium VoteCrate'
        block:
          id: 54
          data: 0
        sounds:
          open: BLOCK_CHEST_OPEN
          scroll: BLOCK_METAL_PLACE
          win: ENTITY_PLAYER_LEVELUP
        win:
          firework: true
          broadcast: true
          messagePlayer: false
        config:
          scrollDuration: -1
          scrollSpeed: 8
          showcaseDuration: 10
          colouredGlass: false
          crateEffects: true
        prizes:
        - Diamond16
        - FoodPack2
        - Money2
        keys:
        - premium
        messages:
          broadcast: '&d[Premium] &5<player>&e just won &6<prize_name> for voting!'
          player: If you see this something broke.
          wrongKey: '&4Hey! You can''t use this here!'
    mystic:
        title: '&bMystical VoteCrate'
        block:
          id: 54
          data: 0
        sounds:
          open: BLOCK_CHEST_OPEN
          scroll: BLOCK_METAL_PLACE
          win: ENTITY_PLAYER_LEVELUP
        win:
          firework: true
          broadcast: true
          messagePlayer: false
        config:
          scrollDuration: -1
          scrollSpeed: 8
          showcaseDuration: 10
          colouredGlass: false
          crateEffects: true
        prizes:
        - Diamond32
        - FoodPack3
        - Money3
        keys:
        - mystic
        messages:
          broadcast: '&b[Mystical] &5<player>&e just won &6<prize_name> &efor voting!'
          player: If you can see this, something broke!
          wrongKey: '&4Hey! You can''t use this here!'
    god:
        title: '&bGod/Goddess VoteCrate'
        block:
          id: 54
          data: 0
        sounds:
          open: BLOCK_CHEST_OPEN
          scroll: BLOCK_METAL_PLACE
          win: ENTITY_PLAYER_LEVELUP
        win:
          firework: true
          broadcast: true
          messagePlayer: false
        config:
          scrollDuration: -1
          scrollSpeed: 8
          showcaseDuration: 10
          colouredGlass: false
          crateEffects: true
        prizes:
        - Diamond64
        - FoodPack3
        - Money3
        keys:
        - god
        - goddess
        messages:
          broadcast: '&6[God (or) Goddess] &5<player>&e just won &6<prize_name> &efor
            voting!'
          player: If you can see this, something broke!
          wrongKey: '&4Hey! You can''t use this here!'

prizes.yml

# 
#  Need help configuring? Visit the ArchonCrates documentation https://archoncrates.com/docs/19-1-3/files/prizes
#  
Prizes:
    Diamond16:
        name: '&bDiamonds'
        item:
            ID: 264
            data: 0
            stackSize: 16
        chance: 3.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.member
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 264 16
    Diamond32:
        name: '&bDiamonds'
        item:
            ID: 264
            data: 0
            stackSize: 32
        chance: 3.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.premium
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 264 32
    Diamond64:
        name: '&bDiamonds'
        item:
            ID: 264
            data: 0
            stackSize: 64
        chance: 3.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.god
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 264 64
    FoodPack1:
        name: '&eFood Pack'
        item:
            ID: 320
            data: 0
            stackSize: 16
        chance: 10.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.member
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 260 16
        - i 297 16
        - i 320 16
        - i 364 16
    FoodPack2:
        name: '&eFood Pack'
        item:
            ID: 320
            data: 0
            stackSize: 32
        chance: 10.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.premium
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 260 32
        - i 297 32
        - i 320 32
        - i 364 32
    FoodPack3:
        name: '&eFood Pack'
        item:
            ID: 320
            data: 0
            stackSize: 64
        chance: 10.0
        broadcast: true
        glow: true
        permission:
            use: true
            value: crate.prize.mystic
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - i 260 64
        - i 297 64
        - i 320 64
        - i 364 64
    money1:
        name: '&2$1500 Cash'
        item:
            id: 339
            data: 0
            stackSize: 1
        chance: 30
        broadcast: true
        glow: true
        permission:
            use: false
            value: ''
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - eco give <player> 1500
    money2:
        name: '&2$5000 Cash'
        item:
            id: 339
            data: 0
            stackSize: 1
        chance: 30
        broadcast: true
        glow: true
        permission:
            use: false
            value: ''
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - eco give <player> 5000
    money3:
        name: '&2$10000 Cash'
        item:
            id: 339
            data: 0
            stackSize: 1
        chance: 30
        broadcast: true
        glow: true
        permission:
            use: false
            value: ''
        winAmmount:
            global: '*'
            player: '*'
        commands:
        - eco give <player> 10000      

keys.yml

Keys:
    user:
        name: '&fMember Key'
        lore:
        - 'Allows you to open a &fMember VoteCrate'
        item:
            ID: 131
            data: 0
        glow: true
    premium:
        name: '&dPremium Key'
        lore:
        - 'Allows you to open a &dPremium VoteCrate'
        - '&4You &lMUST&4 be Premium Ranked to use this item.'
        item:
            ID: 131
            data: 0
        glow: true
    mystic:
        name: '&bMystical Key'
        lore:
        - 'Allows you to open a &bMystical VoteCrate'
        - '&4You &lMUST&4 be Mystical Ranked to use this item.'
        item:
            ID: 131
            data: 0
        glow: true
    god:
        name: '&eGod Key'
        lore:
        - 'Allows you to open a &eGod/Goddess VoteCrate'
        - '&4You &lMUST&4 be Mystical Ranked to use this item.'
        item:
            ID: 131
            data: 0
        glow: true
    goddess:
        name: '&Goddess Key'
        lore:
        - 'Allows you to open a &eGod/Goddess VoteCrate'
        - '&4You &lMUST&4 be Mystical Ranked to use this item.'
        item:
            ID: 131
            data: 0
        glow: true

Whats happening?

When I use the command /archoncrates create the GUI pops up and works but none of my crates are visible? Could any tell me what I did wrong. Thank you.

EDIT:

I realize that I'm an idiot and that namespaces are case sensitive and I didn't capitalize some namespaces.

Web config validator

Create a page on archoncrates.com to validate configuration files.

Must support following features:

  • Configs from all 19.x.x versions
  • All major files (crates, prizes, keys, virtual crate)
  • Show a list of errors if any with config section snippet

The GUI doesn't work

I used /achroncrates create and a gui popped up but when I clicked something, rather than the gui taking me anywhere I just grabbed the item.

Key signs

Add ability to create signs for players to buy keys

[ArchonCrates]
       1
  Golden Key
    ยฃ500.00

Issue With Perms

I gave my members the perm archoncrates.crate.use or archoncrates.command.use but it still says 'You do not have the permission to open/use a virtual crate

Thousands of console entries

My console is being spammed with
[02:15:57] [Server thread/INFO]: [ArchonCrates] Error: There was a request to a value which did not exist.
[02:15:57] [Server thread/INFO]: File: prizes.yml
[02:15:57] [Server thread/INFO]: Path: Prizes.DevHead.name

This is a snippet of the server log https://pastebin.com/rpfnJpQa

I've been through everything I can think of and I'm not sure how to correct this error

Remote key rewards

hello i run a bungee server and want to know if theres away to link them so i can give key awards as a award for winning the mini games

Add GroupManager support to prizes

Add GroupManager permission and group granting abilities to prizes like older versions.

Give players permissions/groups if they are lower than the group and only if they don't have it etc.

Discord integration

Add discord bot or webhook to post messages when people open crates/win prizes

add log files

Add a new directory with log files containing:

  • startup logs
  • java errors (maybe)
  • key & crate events (giving, opening etc.)

Request: Allow to choose the speed of the scroll

The scroll speed is WAY too slow for my liking and the only options seem to be "really slow" and "increasing in speed" (-1).

It would be awesome if you could choose the speed of the scroll.

Nullpointerexception on clicking items

When I'm clicking on items, that aren't keys I get this error.
[21:13:51] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to ArchonCrates v19.1.3 org.bukkit.event.EventException: null at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:235) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:202) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:198) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1023) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:26) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:5) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_144] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843) [patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched.jar:git-TacoSpigot-"1a0d11cc"] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched.jar:git-TacoSpigot-"1a0d11cc"] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144] Caused by: java.lang.NullPointerException at com.HamiStudios.ArchonCrates.Events.PlayerInteraction.OnInteraction(PlayerInteraction.java:43) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor321.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched.jar:git-TacoSpigot-"1a0d11cc"] ... 19 more

Cannot close Crate GUI

I cannot close the Crates GUI whenever I use a key on the crate.

Version of Server: v1.11.2+
Server Type: Spigot

Here is the error I get:

[13:04:15 WARN]: [ArchonCrates] Task #1794 for ArchonCrates v19.1.3 generated an exception
java.lang.IndexOutOfBoundsException: No group 5
at java.util.regex.Matcher.start(Matcher.java:375) ~[?:1.8.0_172]
at java.util.regex.Matcher.appendReplacement(Matcher.java:880) ~[?:1.8.0_172]
at java.util.regex.Matcher.replaceAll(Matcher.java:955) ~[?:1.8.0_172]
at java.lang.String.replaceAll(String.java:2223) ~[?:1.8.0_172]
at com.HamiStudios.ArchonCrates.API.Operations.CrateRoll.generateWinningPrize(CrateRoll.java:545) ~[?:?]
at com.HamiStudios.ArchonCrates.API.Operations.CrateRoll.access$500(CrateRoll.java:22) ~[?:?]
at com.HamiStudios.ArchonCrates.API.Operations.CrateRoll$3.run(CrateRoll.java:240) ~[?:?]
at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:738) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]

Preview Crates

Would be cool to be able to preview what a crate has to offer, left clicking to preview the crate for reward items would be cool.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.