Slot Machine icon

Slot Machine -----

Make GUI Slot Machines with deep customization and support




Major Changes :
  • Dropped support for Minecraft 1.16 and 1.17, currently supported versions are 1.18, 1.19, 1.20 and 1.21
Bug Fixes :
  • Fixed exceptions on PaperSpigot related to custom player head textures
  • Fixed exceptions on plugin load on PaperSpigot
  • Fixed exceptions when trying to add a command as a reward on PaperSpigot
Misc :
  • Automatically remove the leading / when a player inputs a command as reward to prevent user-error
----------, Oct 20, 2024

Bug Fixes :
  • Fixed the Anvil GUI for command rewards
  • Fixed an exception when giving tokens
  • Fixed exceptions with custom language making requests to Crowdin
  • Fixed exceptions when interacting with some blocks
Misc :
  • Removed the issue spamming for 1.20 versions that are not 1.20.6
  • Toned down the warning for 1.20 versions that are not 1.20.6
----------, Jul 30, 2024

Bugfixes
  • Fixed exceptions being thrown in Minecraft versions that are not 1.21
----------, Jun 21, 2024

Slot Machine 6.8.0

New Features :
  • Rewards for each item can now be customized using a brand new in-game GUI accessible using [Left Click] on any item in the item editor GUI
  • You can now set an "Active Lever Item" which replaces your lever item when the player is playing
  • You can now use custom sounds when editing sounds, the UI has been changed to add this functionality : Left Click allows you to select a native Minecraft sound and Right Clicking allows you to type your custom sound

Languages :
  • Updated ES, IT, KR, RO, RU, ZH
  • Added HU (Hungarian)

1.20 and 1.20.6 :
  • If you are playing on a server on Spigot 1.20.X, it is highly recommended to use Spigot 1.20.6, earlier versions of 1.20 may lead to issues. This should not affect 1.16/1.17/1.18/1.19 which still work

Performance :
  • Massively improved performance and disk-writing, the plugin should now be much less tps-intensive when a lot of players are playing

Bug Fixes :
  • Fixed chat messages inconsistent prefix (The [Slot Machine] part)

Miscellaneous :
  • Added all missing sound mappings from 1.20/1.20.6/1.21
----------, Jun 17, 2024

Join our Discord Server for better support, bug reports and feature requests : https://discord.gg/sZvy5KcH2R

Languages :

Added the following languages : (Not all languages are complete)
  • German
  • Italian
  • Japanese
  • Romanian
  • Korean
  • Portuguese (Brazil)
  • Russian
  • Turkish
  • Vietnamese
New Features :
  • Added a new noPermissionNeededForDefaultAccess setting to config.yml that allows players to play with machines even if they don't have the slotmachine.access.default permission, machines that use custom permission names are not affected by this setting.
  • Placeholders from PlaceholderAPI can now be used in machine names. Note that for entity machines, the name of the entity cannot be updated, this only works when inside the machine.
Commands :
  • Added /smupdatelanguages command to force an update of the current language from Crowdin
  • Added /smbackup command to make a backup of all your machines in a new folder named "MACHINES_BACKUP-(date and time)"
Technical but important :
  • The way items are loaded and written from/to machine files has been changed. The "itemCount" variable no longer exists and the plugin instead parses every single entry in all files, this should solve some ghost items in machine files.
  • Due to that change being dangerous, a forced backup will be made before upgrading your machine files, this backup will be named "MACHINES_BACKUP-(date and time)"
  • The config version has been raised to version 6
  • A new "SlotMachineReadyEvent" is now fired when the plugin is ready for other plugins to interact with it
Plugin Support :
Bug Fixes :
  • Fixed player cooldowns not visually going down on machines
  • Removed some debug logs
  • Fixed some chat messages related to full inventories being incorrect
  • Fixed exceptions thrown when a machine is being loaded from a world that doesn't exist anymore
  • Tentative fix for players not receiving the correct amount of items whe winning and the plugin overriding the item amount in the machine file
----------, Oct 12, 2023

Support for Minecraft 1.20 has been added

Rewards :

  • The way items are distributed to players has been recoded.
  • Performances are no longer afffected by players having a big queue of items waiting to be given to them (Players using autoclickers could fill up their inventory quickly)

Language :
  • Updated the language file system, you can no-longer edit the default language files but you can still create custom language files, please read the new documentation in the langs folder.
  • Language files are now updated over-the-air on plugin reload and server restarts, you can participate to translate Slot Machine here : https://crowdin.com/project/slot-machine
  • Added Chinese as a supported language

Misc :
  • Added "Broadcast won item to all players" setting on machines, this will send a message to all players when someone wins on this machine
  • Updated sound mappings

Notable Bug Fixes :
  • Fixed VotingPlugin API issues, please also update VotingPlugin to the latest version
----------, Jun 26, 2023

+ You can now create machines that link an original machine, editing this machine will affect all links

+ Added back the /smreload command, it reloads machines and tokens, please make sure no one is currently usiong machines, it is also recommended to run /smsavetodisk before

* Bug fixes
----------, Jan 22, 2023

+ PlaceholderAPI can now be used where current variables can be used (In lever names/descriptions)
+ When changing a lever name or description, clicking on the current text in the chat will copy it to your chatbox
+ New variable "rawBalance" : like "balance" but will not output the currency symbol
* Decimals are no longer shown for numbers that don't need it
+ The config.yml file is now commented on Spigot 1.18/1.19+ (you may need to restart the server the first time)
+ Setting the goodLuck value in the config.yml to '' (2 apostrophes) will now hide the good luck message
* Disk writes are now batched, this should increase performance when a lot of people are playing

* The plugin will now always make sure a default token exist instead of throwing exceptions
* Fixed missing localization for Win Messages
----------, Jun 19, 2022

+ Added support for 1.19 (sounds)
+ Default admin tool can now be changed in config.yml, look for adminToolMaterial, set it to any valid Spigot Material, (list available here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)

* Tentative fix for some bugs with not enough reports
----------, Jun 9, 2022

* Fixed Slot Machines on blocks not loading
----------, Apr 23, 2022

* Fixed a concurrency issue that could happen when playing with machines
* Machines with incorrect or missing machineTypes will no longer be loaded to avoid errors
* Machines that have a missing machineUUID will be laoded with their file name as machineUUID
* Issues happening when making backups will now be reported to OPs in game
----------, Apr 23, 2022

* Updated some internal dependency code for VotingPlugin
* Updated some logs
* Fixed a bug where some "Back" buttons would not work for machines on Citizens NPCs
* Updated some code for GUIs
* Fixed pagination error in some cases
----------, Apr 22, 2022

* Fixed an exception occuring a lot in logs
----------, Jan 15, 2022

+ See last update for changelog

+ Added customization of error sound (Machine on cooldown)
----------, Jan 14, 2022

The following translatable strings were added :
Code (Text):
basic.itempreview=Item Preview
basic.back=← Back
basic.previouspage=← Previous Page
basic.nextpage=Next Page →
basic.page=Page
* General bug fixes and code refactoring related to slot machine on blocks interractions
----------, Jan 14, 2022

* This update changes the way the plugin is bundled into a .jar file. This makes it compatible with plugins using some common libraries
----------, Dec 15, 2021

* Fixed Gamepoints not working correctly with new versions of the plugin. If you use Gamepoints, please update it too

(The author seem to think it's funny to change the location and names of APIs between versions)
----------, Dec 14, 2021

+ Added support for Minecraft 1.18
- Dropped support for Minecraft 1.13/1.14/1.15

As of now, Slot machine will only support the current and last 2 versions of Minecraft, currently being Minecraft 1.16/1.17/1.18
----------, Nov 30, 2021

* Fixed some customization not loading properly
----------, Nov 25, 2021

* Fixed copy/paste button showing when it shouldn't
* Fixed some sentences with missing words at the end
* Reduced required cooldown to be saved to disk from 10mins to 1 minute
* Changed placeholder formatting to be clearer
* Added more feedback for the /givetokens command
* Cleaned up and added feedback for the /openmachine command
----------, Nov 12, 2021

+ Lever titles/descriptions are now localized to default languages (English and French)
+ Added language mappings to lever titles/descriptions and some currencies
(Note : Existing machines may require their lever titles/descriptions to be reset)

* Fixed Citizens NPC error message when trying to create a machine on them
* Removed entity not found warning when reloading the plugin
* Added version warning for MC 1.15
----------, Jul 8, 2021

+ You can now copy/paste machines and machine's items to other machines
+ Doing so on entities/blocks that are not yet machines will create a machine on them

----------, Jul 1, 2021

This is a small release adding support for 1.17 :
+ Added 1.17 sounds
+ Added 1.17 version detection

As Mojang decided to postpone the full release of the Caves and Cliffs update, this update still supports old versions of Minecraft
----------, Jun 26, 2021

+ Added command /smcooldown
  • Usage :
    Code (Text):
    /smcooldown <player/@a(all players online)/@everyone(all players)> <slot machine uuid/all> reset
  • Permission : slotmachine.smcooldown
+ Background items are now fully customizable (not just material, meaning custom models now work)
+ Added a "copy machine uuid to clipboard" button under machine informations

* Fixed cooldowns starting even if player doesn't have enough currency
----------, Mar 16, 2021

+ Added machine cooldown
  • This is a beta feature, please report any bug you find
  • Cooldowns less than 600s will not be saved between server restarts or plugin reloads
  • Current cooldown is visible on a machine's lever, counting time in real time
  • Commands to manage cooldowns will come with version 6.3.4 (and the probable bugfixes)
+ Added message warning of upcoming support drop for 1.13/1.14
+ Added support for GamePoints
+ Added in-game warnings for operators when important issues occur (Disk full preventing from saving...)
- Removed command /slotmachinereload as it wasn't working properly, use /reload or Plugman (/plugman reload SlotMachine) instead
- Removed command /slotmachineaction (old internal command)
- Removed support for PlayerPoints

* Fixed an issue where the opening sound was stopping when pulling the play lever or opening content preview
----------, Mar 13, 2021

+ Item weight editor : Now loops when going under 0 and above 999 (makes reaching 999 much faster)
+ Item weight editor : Left Click : -1/+1 and Right Click : -10/+10
+ Item weight editor : Reset to 1 button now asks confirmation and has better feedback
+ Machine opening sound now stops when the machine is closed

* Fixed luck/bad luck effects not being correctly applied
* Removed old unused help text
----------, Mar 9, 2021

+ Now supports voting points from the VotingPlugin plugin
+ Added a hint to indicate that items can continue being added after filling up a page
+ Added a preview of the item currently being edited on the item weight editor

* Clicking 'No' when canceling stats reset now works as expected
----------, Dec 22, 2020

+ Added Play Modes
  • Allows you to select how players interact with machines
  • 4 modes are currently available :
  • Unlimited : Allows players to trigger machines as much time as possible by closing and re-opening machines' UI
  • Player Limited : Allows players to play only once at a time on a machine (Current mode, default)
  • Player Limited (Global) : Allows players to play only once at a time on all machines that are on this setting
  • Machine Limited : Only one player can play on a machine at a time

+ The "Manage Machine Inventory" button was renamed "Item Editor & Statistics"
  • Now allows you to see machine's and items statistics
  • Allows you to see each item's weight and actual chance to be won
  • Now allows you to edit an item's weight using the new Weight Editor

+ Actual chance to win is now displayed on items preview, it can be disabled independantly of weight's preview
+ Several icons were changed and sounds have been added
+ Added new language translations related to play modes and chance

* Machines can no longer be created on players
* Fixed a bug that made the lever text not update
----------, Dec 16, 2020

+ Added support for HEX color codes in player inputs for messages, this only works on Spigot 1.16+
* Usage :
Code (Text):
&#XXXXXX
* Must be an HEX color code (RRGGBB)
* You can search "color picker" on google to pick your color
* Old codes still work

Example :
This :
https://pics.klemms.ovh/javaw_RzFBQ9mnsP.png
Becomes this :
https://pics.klemms.ovh/javaw_7MCMcMRGow.png

+ Added new metrics (You can find them on https://bstats.org/plugin/bukkit/SlotMachine/1065 )
----------, Nov 7, 2020

This update adds new customization to Slot Machine.
- You can now customize the UI players will see
- You can now customize all sounds player will hear

For more informations, read the information panel (the painting) in the upper left corner of each GUI

You can pick ALL sounds and blocks available in the game.
This video shows how to use this new customization :

Other changelog :
- Updated to 1.16
- Support for ReWorld and UltraRegions
- Added an error message to explain why a machine can't be opened
- "Weight" is now translatable
----------, Jul 5, 2020

This should fix the update prompt

+ Added support for UltraRegions
----------, Oct 3, 2019

Note : This is not 6.0.0 part 2

+ Added ability to hide/reset win/loss messages
+ Added the ability to have multiple rewards
+ Added toggle to show/hide the item name in the chat when won
+ Added a missing success message when adding a token
+ Added deletion confirmation when removing a token or removing all tokens
+ Re-Added the "Change this machine's token" in the machine customization GUI (I forgot about it when doing 6.0.0)
+ Item weight is now shown in the item list

* Fixed Previous/Next buttons and max page on all GUIs
* Changed item/sound roll in Slot Machines in preparation for an upcoming feature
* Changed the item name logic when receiving a command as reward and made item names localized when available
* Changed some things related to the update checker

* Writing "cancel" in chat will no longer write 'Cancelled' for operators
----------, Oct 2, 2019

Note : From now on, Slot Machine will only be compatible with Spigot 1.13 and Spigot 1.14

Part 2 will contain more changes, particularly on item customization

* The old chat menu for machines has been completely rebuilt and is now a GUI with clickable items and a preview for each setting
* Adding and removing items from machines is now MUCH easier than before

* Players can now also pay with experience levels

* Added a way for players to see what they can win from a machine (this can be disabled for each machine)

* Switched inventory management from MenuBuilder to SmartInvs
* Updated ultra legacy inventories from custom-made mangement to SmartInvs

* Players that are missing a machine permission will now be able to open machines but won't be able to pull the lever

* Added some checks to the Tokens loading code to make it not crash anymore with invalid tokens
* Made the Tokens loading code more verbose

* You can no longer create tokens from air

* Fixed luck/bad luck effect not working (and crashing) (This has never worked past the update it was introduced in)

* Added a switch to make block machines breakable/unbreakable

* Added a confirmation window for the delete machine button and the clear all items button

* Fixed $price and $balance placeholders not correctly formatting some numbers

* Removed delay before being able to open a machine after closing one

* Fixed a bug that made it possible to play without having to wait for the machine to finish by closing and re-opening a machine

* Fixed bugs that allowed to take items out of a machine

* Added Citizens 2 support

A lot of other small changes.
----------, Aug 18, 2019

+ Added 1.14 compatibility
* Fixed an issue with the update checker
----------, May 15, 2019

Fixed an issue with the update checker
----------, May 15, 2019

Fixed a bug with creating machines on blocks
----------, Oct 26, 2018

Fixed a bug with creating machines on blocks
----------, Oct 26, 2018

You can execute commands or give items when players win
This can only be done by editing the machine's file.
You can use all placeholders in your commands (See plugin page for a list)

You have to change the 'type' to 'COMMAND' to execute a command, change the reward from 'item' to 'command'

Here is an example :
Code (YAML):
items:
  '0'
:
    item
: &id002
      ==
: org.bukkit.inventory.ItemStack
      v
: 1976
      type
: WOODEN_AXE
    weight
: 1
    rewards
:
      '0'
:
        type
: COMMAND
        command
: say $player won the lottery !
      '1'
:
        type
: ITEM
        item
: *id002
      '2'
:
        type
: COMMAND
        command
: givetokens $player 500 default
 
----------, Oct 25, 2018

* Fixed Slot Machine trying to load unrelated files
----------, Sep 20, 2018

* Fixed Slot Machine trying to load unrelated files
----------, Sep 20, 2018

* Fixed some bugs
* Updated the update checker, configuration is available in the "KlemmsPlugins" folder
----------, Sep 16, 2018

* Fixed some bugs
* Updated the update checker, configuration is available in the "KlemmsPlugins" folder
----------, Sep 16, 2018

* Fixed Token List screen
----------, Sep 8, 2018

This update brings compatibility with Spigot 1.13.
Note that your Slot Machines should not be lost, however you should be prepared and make backups

Note that from now on, any future update will only target 1.13

This build will only work on Spigot 1.13, the plugin will be automatically disabled if it detects an older version of Spigot
----------, Aug 27, 2018

Slot machine update 5.9.4

New Features :

+ Added an option to turn a mob's sounds on and off (New Slot Machines will be silent by default)
+ The '$balance' variable now changes its value based on the Slot Machine payment type (Money/Tokens/PlayerPoints/TMTokens)
+ Added a new '$tkens' variable which shows the amount of Tokens in the player's inventory


Changes and Bug Fixes :

* Fixed one occurence of a bug where three of the same items would align but the player would lose (Note : the player did actually lose, it was just a visual issue)
* Fixed a bug where the 'Good Luck ! (Balance : XY$)' message would show 'Good Luck ! (Balance : $)' on Machines not using Money
* Fixed a bug with TokenManager preventing Slot Machines to open
* Fixed some localization errors
* Added the player's current Tokens balance on the default lever description
* Added more informations about new Slot Machines in server logs
* Changed some messages formatting
* Made chat buttons clearer
----------, May 27, 2018

5.9.2

+ Added compatibility for TokenManager 3


5.9.3

+ Added command /smsavetodisk to force SlotMachine to write any change to disk (Permission : slotmachine.slotmachine)
* Fixed Tokens type not saving after restarting/reload
----------, May 10, 2018

Bug Fixes
  • Fixed a crash when creating a machine on a block
----------, Jan 13, 2018

If you have questions, bug reports or requests regarding this update or Slot Machine, please use the dicussion tab

Important Note : Slot Machine now requires MenuBuilder to work
Multiple Tokens
  • You can now have unlimited tokens
  • Each Slot Machine can accept a different token
  • You can change a Slot Machine's Token using the usual menu to edit a machine
  • A new GUI has been created to make it easy to manage and select tokens
New Command : /slotmachinetoken list
  • Brings up a GUI where you can browse and remove your tokens
  • Permission : 'slotmachine.tokenmanagement'
New Command : /slotmachinetoken add <Token Name>
  • Adds the item currently in your main hand as a new Token
  • The Token Name must be one word and must be unique example : "incredibletoken" "goldcoin"
  • Choosing an already used name will remove the old Token
  • Permission : 'slotmachine.tokenmanagement'
Updated Command : /givetokens <Player Name> <Amount> [Token Name]
  • You can now omit the Token Name, this will bring up a GUI where you can pick the Token you want

Language Files
  • Language Files are now encoded using UTF-8
  • They are also now loaded as UTF-8
  • Make sure your custom language files are now using UTF-8

Miscellaneous
  • Removed the command 'setdefaultslotmachinetoken', use '/slotmachinetoken add default' as a replacement
  • Added a new Variable "tokenName" which displays the Token name
  • Restored Gravity control on Spigot 1.10, 1.11 and 1.12

Bug Fixes
  • Fixed auto error reporting not working
  • Fixed a crash on old Spigot versions related to the recent support of the Luck and Bad Luck potion effects
----------, Jan 13, 2018

* Fixed custom win and loss message showing at the same time
* Fixed an issue with AnimatedMenu
----------, Oct 23, 2017

+ Item Name can be displayed after the win or loss message (config.yml)
+ Default Loss and Win messages can now be set in config.yml
+ Chance to win can be affected by the Luck or Bad Luck effect, this can be turned on per machine, by default 1 level of luck or bad luck equals +12.5% or -12.5%, this can be changed in config.yml
* Fixed an issue where right clicking an entity while looking at a block would bring both the Entity and Block Machine menu
----------, Oct 19, 2017

+ The target selector '@a' can now be used for the command /givetokens

Code (Text):
/givetokens @a 5
Will give 5 tokens to everyone
----------, Aug 3, 2017

* Fixed an exception in the logs related to the update checker
----------, Jul 27, 2017

* Fixed tokens not saving
----------, Jun 30, 2017

+ Slot Machines can now be created on blocks
+ Slot Machine will prevent the block from being destroyed, though you can change the block using World Edit or by changing the "locked" property to false in the machine file

Slot Machines on blocks work the same way as regular slot machines
----------, Jun 30, 2017

* Right clicking with the Slot Machine Magic Wand brings up the customization buttons in the chat >> Right clicking with a Blaze Rod brings up the customization buttons in the chat
----------, Jun 18, 2017

- No longer spams "Slot Machine is up-to-date" in logs
----------, Jun 18, 2017

Quick fix
----------, May 11, 2017

+ Added support for TokensManager (The option to change the payment method will only appear if the plugin is installed)
+ Added a way to cancel renaming/price changing/etc...
----------, May 11, 2017

* Fixed a bug with the english translation
* Fixed a bug where tokens would not be saved after update 5.6
----------, May 5, 2017

+ Fixed a bug that would make Slot Machine not work on some servers
----------, Apr 17, 2017

+ The Magic Wand menu will now automatically show after creating a slot machine and after chaning its options
----------, Apr 14, 2017

* Fixed a bug where the plugin could not recognize some economy plugins
----------, Apr 13, 2017

Complete 5.6 changes here

* Fixed a bug where Slot Machines wouldn't be reloaded with the /slotmachinereload command
----------, Apr 13, 2017

Please tell me if machines still don't load after a server restart on this version

* Slot Machines are no longer saved in the config.yml file
  • Slot machines are now saved in the /machines folder
  • Each slot machine has its own file named by its UUID
  • Your existing Slot Machines will be converted to that new way of saving machines automatically
This should prevent all machines being cleared in case there is a problem with the config.yml file or with one of the machines
The logs will also now say when there was an issue loading a specific Slot Machine

+ Auto Machine Backups
  • The plugin will now save the /machines folder to /machinesLastBackup everytime the plugin unloads (When the server stops or during a /reload)
  • If an issue happen you will be able to restore manually the files
  • You can disable backups by setting "backupMachinesOnPluginUnload" to false in the config.yml

+ Anonymous exception auto-report
  • When an exception with the plugin is thrown, an anonymous report will be sent to me
  • This will allow for faster debugging of common issues
  • You can disable this by setting "anonymouslyReportExceptionsToDevelopper" to false in the config.yml
----------, Apr 13, 2017

* Fixed a bug where having non-living entities as Slot Machines would prevent the Slot Machines from loading properly - This should fix a large amount of issues related to Slot Machines not working after a reload/restart

Vault is no longer a mandatory dependency, not having Vault will make all Slot Machines work with Tokens by default (or use Player Points)

+ Added support for multiple Languages
  • Set the language in the config.yml (must be upper case)
  • Natively supported languages are ENGLISH and FRENCH
  • You can add your own translation in by copying the ENGLISH.txt or FRENCH.txt file and pasting it in the lang folder of the plugin, rename it to your language name and start editing what you want
  • You can also just add the sentences you want to change, the plugin will take the english language to fill the missing sentences
  • You can edit the already existing ENGLISH.txt and FRENCH.txt files but it is not recommended as they'll get overwritten with almost every update
  • The 'version=1' is not necessary for custom languages
  • Every single sentence can be changed
+ Added '/slotmachinereload' command
  • Reloads all language files
  • Reloads the config.yml file
  • Reloads Slot Machines
  • Make sure no player is currently in a Slot Machine or they'll be able to take items out of the GUI
+ Added a new argument to '/openmachine' :
'/openmachine <Player Name> <Machine UUID> [true/false | true to override the machine's permission]'
This should allow you force a slot machine to open for a player even if they don't have the machine's permission

* Fixed a bug where teleporting a Slot Machine using /tpmachine could result in future server loading where the Slot Machine would fail to load (The plugin will retroactively apply this fix when updating to this version). If this issue happens again if the future the command '/slotmachineaction updateslotmachineentitieslocations' should fix this issue
----------, Apr 12, 2017

Removed scientific numbers
----------, Feb 25, 2017

Removed scientific numbers
----------, Feb 25, 2017

Quick update
----------, Feb 25, 2017

This is the last update for 1.8.8
----------, Feb 25, 2017

* Visual for the CS:GO Machine type has been changed
* Made an errors more clear and fixed exception with /tpmachine
----------, Feb 25, 2017

+ Added support for PlayerPoints
  • Use the Magic Wand to switch the payment method to "PLAYER POINTS", the option will only be available if PlayerPoints is installed
+ Added a new placeholder :
  • $pointsPlayer : Adds the Player's Player Points (will only work if PlayerPoints is intalled)
----------, Jan 30, 2017

* Fixed a NoSuchMethodException on 1.9
* Removed 'Turn on/off gravity' (until I drop support for 1.9)
----------, Jan 30, 2017

* Fixed a bug (NoSuchMethodException) in Spigot 1.9 and 1.10
----------, Jan 30, 2017

* Updated the default Slot Machine visual
+ Added CSGO-Wheel Vertical visual (Switch with the Magic Wand, the machine visual must be a SLOT MACHINE in order to switch to the vertical visual (The option to switch to the vertical visual will not appear if the machine is a CSGO-Wheel, you must swith to the SLOT MACHINE visual to see the option))
* Fixed a bug where the reward would be given too soon with the Slot Machine visual
----------, Jan 30, 2017

+ You can now choose between two visuals for your Slot Machines
  • The SLOT MACHINE visual :
  • [​IMG]
  • The CSGO-Wheel visual :
  • [​IMG]

  • Changes with the CSGO-Wheel visual
  • The CSGO-Wheel always has 100% chance to win
  • (In order to change item rarity, change the weight of each item, more informations about weight can be found here)
  • New animation and sound :

  • All settings (except the chance to win) work on the CSGO-Wheel visual
----------, Jan 30, 2017

+ A Slot Machine can now have Tokens instead of Money as a payment method
  • To switch a machine to Tokens, use the Magic Wand
  • The price in token is the price of the Slot Machine truncated to be an integer (11.5$ will become 11 tokens)
  • Tokens are physical in the player's inventory
  • Default token is a Gold Nugget with the name 'Token' in gold
  • You can change the token using the command '/setslotmachinetoken', it will set the token to your currently held item
  • You can give tokens by using '/givetokens <Player Name> <Amount of Tokens>'
  • You can customize the not enough tokens message in the config file
+ The prize for winning in the Slot Machine can now be different than the item displayed, example : you can give money for winning with 3 gold blocks
  • This must currently be modified in the config file
  • Here is a config file example : http://pastebin.com/raw/y58nRiqg the first item displays a chest, but the winner will get 64xAnvil, the second item display a redstone lamp but the winner will get 1500$ and the third item displays money and will give money
  • I know that this is far from being user-friendly and I'm working on a way to make editing rewards easier. If you need help contact me using the Discussion page
* Potential fix for a bug allowing Players to steal the items from Slot Machines
----------, Jan 29, 2017

* The way you create and edit Slot Machines has been completly changed and is now much better
  • /slotmachine now gives you the 'Slot Machine Magic Wand'
  • Right clicking any entity with this wand shows clickable chat buttons
+ Added a way to turn on/off any entity's AI (Using the Magic Wand)
+ Added a way to turn on/off any entity's Gravity (Using the Magic Wand)
+ Added a way to turn on/off any entity's name's visibility (Using the Magic Wand)
* Fixed a bug preventing non-OP players from setting/adding items to a Slot Machine even if they had the permission
----------, Jan 28, 2017

* Made a lot of internal changes that will make adding new features easier
* Machines that can't be correctly loaded for whatever reason are no longer removed (This also means that Citizens entities who keep the same entity UUID between server restarts should now work with Slot Machine)
+ Added 'weight' to items :
  • Weight can be changed in the config file for each item
  • Weight affects an item's probability to be won
  • Weight can go from 0 to 2 billions (0 means that the item cannot be won)
  • Weight does not affect the probability of the item to be shown when the machine is openned
+ The SlotMachine UUID has been added to the informations tool
* The /openmachine command now works with the SlotMachine UUID rather than the entity's UUID


Note : When you first start the server with Slot Machine 5, the plugin will convert your old machines to the new format
Upcoming features :
  • Slot Machines on blocks
  • The ability to switch a Slot Machine from an entity to a block (and vice versa)
  • The ability to copy a Slot Machine
  • An online editor for your Slot Machines
----------, Jan 27, 2017

This version is available on 1.9 and 1.10
----------, Jun 21, 2016

- Added /tpmachine <Entity UUID>
- You can now set the Lever Title/Description
- You can now change some messages in the config file (Permission Denied, Not enough money and Good Luck)
- You can use variables in all messages (Not in names) (See main page)
- Fixed bugs where sometimes SlotMachines in Multiverse worlds would not be loaded correctly
- Fixed a bug where you could change multiple properties of a Slot Machine at once​
----------, Jun 1, 2016

- Added /tpmachine <Entity UUID>
- You can now set the Lever Title/Description
- You can now change some messages in the config file (Permission Denied, Not enough money and Good Luck)
- You can use variables in all messages (Not in names) (See main page)
- Fixed bugs where sometimes SlotMachines in Multiverse worlds would not be loaded correctly
- Fixed a bug where you could change multiple properties of a Slot Machine at once
----------, Jun 1, 2016

- Added /tpmachine <Entity UUID>
- You can now set the Lever Title/Description
- You can now change some messages in the config file (Permission Denied, Not enough money and Good Luck)
- You can use variables in all messages (Not in names) (See main page)
- Fixed bugs where sometimes SlotMachines in Multiverse worlds would not be loaded correctly
- Fixed a bug where you could change multiple properties of a Slot Machine at once
----------, Jun 1, 2016

- Added /tpmachine <Entity UUID>
- You can now set the Lever Title/Description
- You can now change some messages in the config file (Permission Denied, Not enough money and Good Luck)
- You can use variables in all messages (Not in names) (See main page)
- Fixed bugs where sometimes SlotMachines in Multiverse worlds would not be loaded correctly
- Fixed a bug where you could change multiple properties of a Slot Machine at once
----------, Jun 1, 2016

Resource Information
Author:
----------
Total Downloads: 25,817
First Release: Apr 19, 2016
Last Update: Oct 20, 2024
Category: ---------------
All-Time Rating:
84 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings