ItemFlip
For questions, reports bugs ask on our discord
I'm open for any suggestions
Please remember that Gradient & #HEX colors works only on 1.16+
WARNING: PLUGIN WILL NOW REQUIRE JAVA 17+ !
Highly customizable ✅
CustomModelData & Base64 in GUI ✅
RGB Color support ✅
<#00FFFF>Solid
<#00FFFF>Gradient</#935353>
<RAINBOW1>Rainbow</RAINBOW>
<RAINBOW100>Rainbow</RAINBOW>
Can be disabled in specific worlds
Summary
This plugin allows your players to gamble with their items.
Players put items into defined slots, then both players need to confirm with accept button. After 3 seconds countdown flipping will start
Installation
Simply drag&drop the plugin file into plugins folder on your server and restart your server.
Permissions
itemflip.reload - Allows to use /itemflip reload command
itemflip.use - Allows to use ItemFlip command
itemflip.creative_bypass - Allows to use ItemFlip in Creative Gamemode
itemflip.world_bypass - Allows to use ItemFlip in disabled worlds
Commands
/itemflip <player> - Sends game request to the selected player
/itemflip accept <player> - Accepts game request. Can be clicked in the chat too
/itemflip decline <player> - Declines game request. Can be clicked in the chat too
Images
Config
Settings:
Prefix: "&7[<#882285>ItemFlip</#EE6F20>&7]" # messages prefix
CheckForUpdate: true # update check on startup
DisableInCreative: true
DisabledWorlds:
- ''
DisabledInGamemodes:
- ADVENTURE
- CREATIVE
- SPECTATOR
GUI:
Rows: 6
Title: "§lITEM FLIP"
ClickSound: "BLOCK_COMPARATOR_CLICK, 1f, 1f"
DeleteItemSound: "ENTITY_VILLAGER_NO, 1f, 1f"
FailSound: "ENTITY_VILLAGER_NO, 1f, 1f"
LeaveGameSound: "BLOCK_ANVIL_LAND, 1f, 1f"
InviteGameSound: "ENTITY_EXPERIENCE_ORB_PICKUP, 1f, 1f"
AcceptGameSound: "ENTITY_PLAYER_LEVELUP, 1f, 1f"
DeclineGameSound: "ENTITY_PLAYER_LEVELUP, 1f, 1f"
# You can add more items here
FillerItems:
Border:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 17, 18, 22, 26, 27, 31, 35, 36, 40, 44, 46, 47, 48, 49, 50, 51, 52]
Material: "GRAY_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
# Items below here are fixed and ID should not be removed/changed.
P1ItemBoard:
Material: "BARRIER"
DisplayName: "§7Empty Field"
Slots: [10, 11, 12, 19, 20, 21, 28, 29, 30, 37, 38, 39]
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
#Lore:
#- ""
P2ItemBoard:
Material: "BARRIER"
DisplayName: "§7Empty Field"
Slots: [14, 15, 16, 23, 24, 25, 32, 33, 34, 41, 42, 43]
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
#Lore:
#- ""
P1AcceptButton:
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§aAccept"
Slot: 45
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Click to accept items!"
P1DeclineButton:
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§cDecline"
Slot: 45
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Click to decline items!"
P2AcceptButton:
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§aAccept"
Slot: 53
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Click to accept items!"
P2DeclineButton:
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§cDecline"
Slot: 53
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Click to decline items!"
P1HeadItem:
Slot: 0
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
P2HeadItem:
Slot: 8
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
AnimationGUI:
Rows: 3
Title: "§lWINNER IS.."
LoseSound: "ENTITY_VILLAGER_NO, 1f, 1f"
WinSound: "ENTITY_VILLAGER_YES, 1f, 1f"
CountdownSound: "ENTITY_EXPERIENCE_ORB_PICKUP, 1f, 1f"
AnimationSound: "BLOCK_COMPARATOR_CLICK, 1f, 1f"
AnimationSpeed: 6
AnimationLenght: 12
# Items below here are fixed and ID should not be removed/changed.
FillerItems:
Spin1:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GRAY_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Spin2:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "YELLOW_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Final:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIGHT_BLUE_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
GameItem:
Slot: 13
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
# messages
Messages:
Usage: "§b➥ §7Usage: /itemflip <player>"
ReloadSuccess: "§b➥ §7Reloaded sucessfully!"
ReloadError: "§c➥ §7Error occured!"
NotFound: "§c➥ §7Player %PLAYER% is not online!"
NotEnoughPerm: "§c➥ §7You dont have enough perms!"
Invited: "§c➥ §7You have invited %PLAYER% to the ItemFlip game!"
InvitedYou: "§c➥ §7%PLAYER% has invited you to the ItemFlip game!"
AlreadyInvited: "§c➥ §7You have already invited %PLAYER%!"
GameAccepted: "§b➥ §7%PLAYER% accepted your game!"
GameDeclined: "§b➥ §7%PLAYER% declined your game!"
GameLeaved: "§b➥ §7%PLAYER% leaved game!"
FullInventory: "§c➥ §7Please make some space in inventory!"
FullInventoryDetails: "§c➥ §7Not enough space in inventory. Needed: %NEEDED% you have %FREE% free slots!"
DisabledGamemode: "§c➥ §7You cant use this in Creative Gamemode!"
SummaryLoss:
- ""
- "<center>§b§lGame summary</center>"
- "<center>§cYou lost, better luck next time.</center>"
- ""
- "<center>§7Winner: §a%WINNER%</center>"
- "<center>§7Loser: §c%LOSER%</center>"
- ""
SummaryWin:
- ""
- "<center>§b§lGame summary</center>"
- "<center>§a§lWINNER</center>"
- ""
- "<center>§7Winner: §a%WINNER%</center>"
- "<center>§7Loser: §c%LOSER%</center>"
- ""
HelpMessage:
- ""
- "§7------------ ItemFlip Help ------------"
- "§b/itemflip help §7- Displays this message"
- "§b/itemflip <player> §7- Creates ItemFlip game"
- "§7------------ ItemFlip Help ------------"
- ""
Terms of Service
- You may not redistribute plugin, in any shape or form neither it's code or parts of it.
- You may ask me for support.
- No refunds, as one does not have a right to get a refund for such digital item, because you have been gained access to it instantly and may have used it.