AnCasino icon

AnCasino -----

The classic casino plugin is back!




Compatible with versions 1.19, and 1.20.2.
----------, Oct 28, 2023

Fixed legacy material support; new blocks should work now.
----------, Aug 21, 2021

Compatible with versions 1.13, 1.14, 1.15, 1.16, 1.17.1, and everything in between.
----------, Aug 3, 2021

What I discovered, when playing around with Multiverse is what was actually happening when you use slots on separate worlds, at any given time, the server only loads one world at server restart time, so what is required of AnCasino is that the the other worlds need to be preloaded to not to be considered "null" when the slots themselves get loaded into the server, that's what this change does:

upload_2021-8-2_16-38-16.png

The last update (v1.4.1.2) is now redundant, as this update (v1.4.2) should now be working and you shouldn't be getting those errors anymore. And don't worry, this line of code will not delete your worlds, what it does is it checks if the world exists and if it doesn't it creates a new world to put those slots in, and it loads it regardless.

I actually tested this before releasing this as I don't want people's servers getting deleted unintentionally. If you want those weird situations where you want a fresh world with the slots in the same location (which I don't know why you would want that lol), when you find the location of the slot machine, MAKE sure the controller (the button you press to "roll it") is a note block, if it's not use world edit to change it into one, and then the slot will behave as it was created with commands.

Note: This loads EVERY world that each slot machine is in at the start of the server, use /casino reload from now on, DON'T reload the server.
----------, Aug 3, 2021

[​IMG]

This line, that I added, seems to have fixed the issue that some people were having.

If you have slots on another world that is not in your main server folder, but you still kept some on your current world, the plugin will no longer freak out, so instead of it not loading one slot, and disabling all slots, it will instead just skip loading that slot.

I would also check your spigot/paper/purpur server folder to make sure the world the slots are in match with the name listed in the slots.yml file.
----------, Aug 2, 2021

Removed Vault dependency from plugin.yml as it was causing issues.
----------, Jul 31, 2021

The help command (/casino) with creating slot machines versus the actual text that rolls the slot machines are now COMPLETELY separate of each other. In other words, the help commands will appear in the chat, and the actual slot messages will be above the action bar. This will prevent the chat from being completely spammed with AnCasino messages and give you your chat back!
----------, Jul 24, 2021

If you get an error installing the plugin, you should now get an error saying you either need Vault installed, or if you need an Economy plugin (like EssentialsX).

I tested the error everyone was having and aside from the plugin not being able to run on 1.17.1 servers, I've discovered that what was actually happening was people were installing AnCasino without a plugin with a /money or /balance command, I didn't put it as a soft defend because AnCasino doesn't care which one you use as long as it has some sort of economy. So a huge pink error in the console should appear if you do NOT have both Vault and/or an Economy plugin (like EssentialsX), I hope that sheds some light as I got it working again on 1.17.1!
----------, Jul 23, 2021

The configuration option "display-plugin-prefix" should now work properly.

Sorry about that.
----------, Jun 19, 2021

You are now able to customize the prefix of the plugin.

WARNING:

If you do not want to set up all your slots again (by deleting the configuration folder) make sure the beginning of your config.yml looks like the following:

[​IMG]
----------, Jun 19, 2021

Scrapped the entire old configuration system, and created my own. Reloading should now update the slot machines correctly without needing to restart the server.
----------, May 6, 2021

Compatible with Java versions 1.8 (8) through 14.
----------, May 6, 2021

Everything from the oldest version of AnCasino is now compatible with 1.16.5 Spigot and PaperMC:

  • Removed legacy item identifiers and now using modern Minecraft item IDs (e.c. EMERALD_BLOCK, instead of 133)
  • Added the "none" for a default action for a winning row.
  • All actions that were available before are now in working order, these include:

smite
kill
addxp amount
give material amount
tpto x,y,z
broadcast msg1 msg2 msg3 .....
----------, May 4, 2021

Resource Information
Author:
----------
Total Downloads: 4,119
First Release: May 4, 2021
Last Update: Oct 28, 2023
Category: ---------------
All-Time Rating:
16 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings