Tested Minecraft Versions:
ThatAbstractWolf
______________________________________________
______________________________________________
Casino is a fully customisation experience for any server. With support for allowing developers to add their own casino gamemodes fairly easily we've released 1 official gamemode created by our development team which is known as "slots", this is a fully functioning slot machine functioning via armourstands to create the best spinning experience. In the future more casino gamemodes will be released and your own ones will still work.
______________________________________________
Code (Text):
casino:
coins: # Are coins enabled?
enabled: true
vault: # Is vault enabled?
enabled: true
resourcepack:
customlink: '' # Custom resourcepack link if you're using your own.
enabledWorlds: # Worlds the resourcepack is enabled in.
- world
slots:
items:
base:
item: IRON_HOE # Material of the model.
durability: 4 # Durability of the model.
handle:
item: IRON_HOE # Material of the model.
durability: 1 # Durability of the model.
wheels:
item: IRON_HOE # Material of the model.
durability: 3 # Durability of the model.
coins:
displayName: '&eCasino Coin'
item: IRON_HOE # Material of the model.
durability: 6 # Durability of the model.
oneicon:
randomrewards: false # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: false # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
twoicon:
randomrewards: true # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: false # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
threeicon:
randomrewards: true # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: true # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
EXAMPLE slotmachines.yml
Code (Text):
# Here you can edit the specific slot machines by location.
# Data relating to slot machines such as if a gui is enabled
# Will be located here.
slotmachines:
'1':
location: world;-231;64;242;-90.0;0.0
prizes:
'1':
displayName: $1500
commands:
- eco give <player> 1500
'2':
displayName: $10000
commands:
- eco give <player> 10000
coins:
costPerUse: 1
vault:
costPerUse: 100
hologramEnabled: true
hologramText: '&b&lCasino Slot Machine'
guiEnabled: true
speeds:
- '300'
- '200'
- '100'
particles:
particlesEnabled: true
runningEffect: FLAME
finishedEffect: CLOUD
speed: 20
amount: 35
range: 150
offsetX: 0
offsetY: 0
offsetZ: 0
sounds:
playing:
playInterval: 2
soundEffectEnabled: true
soundEffect: BLOCK_NOTE_PLING
soundEffectVolume: 0.5
soundEffectPitch: 1
iconSelected:
soundEffectEnabled: true
soundEffect: BLOCK_NOTE_PLING
soundEffectVolume: 0.5
soundEffectPitch: 1
______________________________________________
Code (Text):
Commands:
/casinoadmin:
Permission node: casino.admin
Description: Allows you to setup slot machines.
/coins
Permission node: casino.coins
Description: Allows for you to give, take and check casino coins.
______________________________________________
START SLOT MACHINE MENU
SETUP SLOT MACHINE MENU
______________________________________________
Examples of how the Developer API works and an example project overall can be located at:
https://github.com/ThatAbstractWolf/Casino-Example/
______________________________________________
- 1.9
- 1.10
- 1.11
- 1.12
ThatAbstractWolf
______________________________________________
- Custom currency (casino chips)
- Custom resourcepack with 3D models (for our default gamemode).
- Vault support, for those who do not want to use casino chips or even want to use both.
- Rewards for our default gamemode selectable via a simple configuration.yml file.
- Automatic resourcepack installing (can be disabled via configuration file)
- Fully functional Developer API for adding your own casino gamemodes.
______________________________________________
Casino is a fully customisation experience for any server. With support for allowing developers to add their own casino gamemodes fairly easily we've released 1 official gamemode created by our development team which is known as "slots", this is a fully functioning slot machine functioning via armourstands to create the best spinning experience. In the future more casino gamemodes will be released and your own ones will still work.
______________________________________________
Code (Text):
casino:
coins: # Are coins enabled?
enabled: true
vault: # Is vault enabled?
enabled: true
resourcepack:
customlink: '' # Custom resourcepack link if you're using your own.
enabledWorlds: # Worlds the resourcepack is enabled in.
- world
slots:
items:
base:
item: IRON_HOE # Material of the model.
durability: 4 # Durability of the model.
handle:
item: IRON_HOE # Material of the model.
durability: 1 # Durability of the model.
wheels:
item: IRON_HOE # Material of the model.
durability: 3 # Durability of the model.
coins:
displayName: '&eCasino Coin'
item: IRON_HOE # Material of the model.
durability: 6 # Durability of the model.
oneicon:
randomrewards: false # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: false # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
twoicon:
randomrewards: true # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: false # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
threeicon:
randomrewards: true # Should you get a random reward from the rewards.yml or from the unique casino rewards.
fireworkEnabled: true # Should the firework be enabled once the casino is finished.
commands: # Commands that execute everytime they use the machine, 'commands: []' if you want no cmds.
- eco give <player> 50
EXAMPLE slotmachines.yml
Code (Text):
# Here you can edit the specific slot machines by location.
# Data relating to slot machines such as if a gui is enabled
# Will be located here.
slotmachines:
'1':
location: world;-231;64;242;-90.0;0.0
prizes:
'1':
displayName: $1500
commands:
- eco give <player> 1500
'2':
displayName: $10000
commands:
- eco give <player> 10000
coins:
costPerUse: 1
vault:
costPerUse: 100
hologramEnabled: true
hologramText: '&b&lCasino Slot Machine'
guiEnabled: true
speeds:
- '300'
- '200'
- '100'
particles:
particlesEnabled: true
runningEffect: FLAME
finishedEffect: CLOUD
speed: 20
amount: 35
range: 150
offsetX: 0
offsetY: 0
offsetZ: 0
sounds:
playing:
playInterval: 2
soundEffectEnabled: true
soundEffect: BLOCK_NOTE_PLING
soundEffectVolume: 0.5
soundEffectPitch: 1
iconSelected:
soundEffectEnabled: true
soundEffect: BLOCK_NOTE_PLING
soundEffectVolume: 0.5
soundEffectPitch: 1
______________________________________________
Code (Text):
Commands:
/casinoadmin:
Permission node: casino.admin
Description: Allows you to setup slot machines.
/coins
Permission node: casino.coins
Description: Allows for you to give, take and check casino coins.
______________________________________________
START SLOT MACHINE MENU
SETUP SLOT MACHINE MENU
______________________________________________
Examples of how the Developer API works and an example project overall can be located at:
https://github.com/ThatAbstractWolf/Casino-Example/
______________________________________________