ItemFlip v2.3

itemflip, economy, game
ItemFlip

For questions, reports bugs ask on our discord
Please remember that Gradient & #HEX colors works only on 1.16+

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
attachment.png


Config
JavaScript:
# ItemFlip
# Author: DexterSK
# Copyright DexterSK 2023-2024. All rights reserved.
#
Settings:
  Prefix: "&7[<#882285>ItemFlip</#EE6F20>&7]" # messages prefix
  CheckForUpdate: true # update check on startup
 
  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!"
  DisabledWorld: "§c➥ §7You cant use this in this world!"

  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 ------------"
    - ""
Buy a license now
$8.00
EULA: Standard EULA
Secure checkout:
Share and earn
Refer this resource and earn a 10% commission.
307 Views
4 Purchases
5 Downloads
May 27, 2023 Published
Jul 17, 2023 Updated
Not yet rated
532.8 KB File size
Type
  1. Economy
  2. Gameplay
  3. Games
Supported software
  1. Bukkit
  2. Spigot
Supported versions
  1. 1.16
  2. 1.17
  3. 1.18
  4. 1.19
  5. 1.20
Creator
Owner
Recommended for you
MySQL & SQLite RGB Color Highly customizable CustomModelData
Not yet rated
4 purchases
VoteParty ExpBottle Donations Announcements Emojis And more
Not yet rated
0 purchases
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,980 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,971 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Share and earn
Refer this resource and earn a 10% commission.
307 Views
4 Purchases
5 Downloads
May 27, 2023 Published
Jul 17, 2023 Updated
Not yet rated
532.8 KB File size
Type
  1. Economy
  2. Gameplay
  3. Games
Supported software
  1. Bukkit
  2. Spigot
Supported versions
  1. 1.16
  2. 1.17
  3. 1.18
  4. 1.19
  5. 1.20
Creator
Owner
Recommended for you
MySQL & SQLite RGB Color Highly customizable CustomModelData
Not yet rated
4 purchases
VoteParty ExpBottle Donations Announcements Emojis And more
Not yet rated
0 purchases
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,980 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,971 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.