ItemCases
3JaRcDf.png


yemrwPn.gif


wObz5BN.gif


eqwtPdt.jpg

ItemCases is a completely unique plugin that serves as a great donation, voting and playtime reward. It is visually appealing and will show the regard you have for your players by having it on your server.

ItemCases introduces Cases and Keys (similar to CS:GO), in the form of ItemStacks which when used opens a user interface, which will show animations until the rewards are given.
9Ia7rO0.jpg

  • Crate Compatible
  • Item Reward
  • Command Reward
  • Several Case Types (eg: Mystery, CounterStrike)
  • Case/Crate Preview
  • Supports all Item Data
  • Customizable opening GUI
  • Colored Case Names
  • If a users inventory is full, it will be dropped near them
  • Fully Useable In-Game (Using GUIs)
  • 100% Configurable (Including the GUIs, messages, config and item names)
KwxgMyS.jpg


CounterStrike:
1AGjlgC.gif

Editing Rewards is the same for every case type, check the counterstrike editing GUI to see how it's done
qhVf9OD.png


Choose the amount of choices a user gets, by default it's 3
thBuV7X.png


Edit how the opener looks, any item that is chosen will be a 'chooseable' button when the opened, so if you leave a slot as blank it won't be clickable
u7cd6aV.png


Copy a layout from another mystery case for time-saving reasons
2llJg8e.png


Save the layout
Cc2MYGx.png

Overview of the rewards, click to go to the Rewards Editor
xgWmxKF.png


Toggle whether a clicking sound is played when the items scroll past, click to toggle
F42vVSu.png


Edit the layout of this counterstrike case, click to go to the Background Editor
zcR4BqT.png


Rewards Editor
Place the item inside and select the chance
VnU5xYe.gif



Click there to add a command reward
FMJyA7z.png

Viewing a command reward

75a3462cb9739c71a9446babbcaeb98c.png

Editing Reward Icons:
rqCX2tZ.gif

Although it looks the same in the reward editor after, that's so you can tell which command / item reward it was. When you view it in the reward preview / the opener GUIs, it will take the new form, like here:
0ef9f04736d7a2dccd16d19788579bfd.png


Background Editor (Counterstrike)
Choose the layout of that Counterstrike case (you can toggle rainbow mode) and save
smCF0oV.gif


CkMtZrH.jpg

7kkVyWA.png

Crates are optional. They serve as an alternative to having case items, and mean that you only need keys to open the crate rather than both the case item and the key.

To place a crate: Shift Right Click with the case in your hand and the crate will be created.
To destroy a crate: Shift Left Click the crate and break it and it will be removed from the world.
To preview a crate: Left Click the crate.
To open a crate: Right Click the crate.

In order to have the holograms you need to have the hologram dependencies. Check the FAQ for the dependencies.

yuO2s0l.jpg

  • /Case Create <Type> <Name> - Create a case
  • /Case Types - View all case types
  • /Case Remove <Name> - Remove a case
  • /Case Edit <Name> - Edit a case
  • /Case List - View all cases
  • /Case Give <Player> <Case> [Amount] - Give a player the case(s) and the corresponding key(s) (* works)
  • /Case GiveCase <Player> <Case> [Amount] - Give a player just case(s) (* works)
  • /Case GiveKey <Player> <Case> [Amount] - Give a player just key(s) (* works)
  • /Case Open <Player> <Case> - Open a case for a player (* works) even if they don't have a key / case
  • /Case SetItem <Case> <Key/Case> - Manually set the key/case item of a case to your hand
  • /Case Redeem <Case> - Redeem a case (The user must have the permission shown by '/Case Redeemperm <Case>')
  • /Case SetRedeemDelay <Case> <Seconds> - Set the amount of seconds that a player must wait before redeeming it again
  • /Case Redeemperm <Case> - View the permission required to redeem that case

8p1mJ3T.jpg

  • case.* - Grant every case permission
  • case.command.* - Grant every case command permission
  • case.command.create - Grant permission to use /Case Create
  • case.command.types - Grant permission to use /Case Types
  • case.command.remove - Grant permission to use /Case Remove
  • case.command.edit - Grant permission to use /Case Edit
  • case.command.give.both - Grant permission to use /Case Give
  • case.command.give.key - Grant permission to use /Case GiveKey
  • case.command.give.case - Grant permission to use /Case GiveCase
  • case.command.list - Grant permission to use /Case List
  • case.command.open - Grant permission to use /Case Open
  • case.command.setitem - Grant permission to use /Case SetItem
  • case.command.redeem.<Name> - Grant permission to use /Case Redeem <Name>
  • case.command.setredeemdelay - Grant permission to use /Case SetRedeemDelay
  • case.command.redeempermission - Grant permission to use /Case RedeemPerm
  • case.crate.place - Grant permission to place a crate
  • case.crate.break - Grant permission to remove a crate
OK1KzSer.jpg

RewardReceivedEvent - Called just after the Player receives their reward

0avZkdM.jpg

m28evZv.jpg

What is the difference between cases and crates?
Cases are inventory-items that require both the key to be opened. This is like CS:GO.
Crates are world-objects that require only the key to be opened and is the 'traditional' crate way.
You can have both of these within your server.

Are all the cases redeemable?

No, until you set a redeem delay using the command, no case is redeemable. Not only this, but the player requires the permission which can be found using '/Case Redeemperm <Case>' in order to redeem a case.

How do I set the reward chances?
When you add a reward you will be asked to select it in a GUI. You can also edit it in the reward menu if you're not happy with a percentage chance.

Are keys required to open cases?
Yes, which is why the '/case give <name>' command will give both the case and key.

What are the command reward placeholders?
Currently there are very few, if you want/need some more, just ask me over PM and I'll add them.
%player% -> Player Name
%uuid% -> Player UUID

Are there crates instead/aswell as cases?
Yes, see the crates section.

How do I create a case with a colored name?
Just simply create the case with color codes in its name and the colors will be applied.

What case types are there at the moment?
Mystery and CounterStrike

What are the dependencies?
Optional Dependencies:

I have a bug / suggestion:
PM me and I will reply as soon as I can.

mF9eB1O.jpg

By downloading this plugin, you agree that:
  • You will not share/resell this plugin
  • You will not decompile this plugin
  • You will not attempt to refund this plugin
  • You will not share the source of this plugin
  • You will only use it on servers you are a rightful staff member of
  • itemcases.jpg.png
    itemcases.jpg.png
    5.5 KB · Views: 338

Similar resources

ItemCases BlackSpigot.com
Create Cases and Crates using GUIs
0.00 star(s) 0 ratings
Downloads
306
Updated
ItemCases Infinityy
Create Cases and Crates using GUIs
0.00 star(s) 0 ratings
Downloads
370
Updated
ItemCases B
  ItemCases Added old version
good plugin with cases
4.00 star(s) 2 ratings
Downloads
678
Updated
BlackSpigot General Chat
Rules Help Users
    S @ Sachinxgod: Did anyone have NitroSetup lifetseal
    Top