Mineopoly
Monopoly comes to Bukkit!!
Monopoly is a well-known game (that I do not own, see below) that I thought might be fun to play inside a minecraft server.
Features
- Admins can kick players out of the game if they see they are taking too long for their turn or any other reason they see fit.
- Names of spaces are customizable!
- Cards are customizable!
- Physical board!
- Physical jail cell!
- Players are the pieces! They are teleported to the appropriate space when they roll.
- When a player loses, their property is put back on the board as unowned and their money is put in the pot.
- Automatic Turn Ending!
- Game Saving!
- Sessions!
- Players are teleported back to their last location after the game is over. Their game mode is also put back.
- Banning/Unbanning!
- New in 1.5 - Menus! (Similar to those in CreateYourOwnMenus)
- New in 1.5 - Blocks representing houses/hotels!
- New in 1.5 - Trading!
Assests
Differences between the game and the plugin
Auctions have been removed. I have never played with this rule anyway, and in my personal opinion is kind of an annoying rule.
Mortgages have been removed.
- If there is significant need/want for the rules to be added or change, I may do so
Permissions
- Mineopoly.general.chat (allows a player to see what's going on in the game)
- Mineopoly.general.game (allows a player to enter the game, overrides other permissions if they are playing)
- Mineopoly.general.stats (allows a player not in game to see game stats, such as player or property information)
- Mineopoly.admin.end (allows a player to end the current game)
- Mineopoly.admin.force-add (allows a player to add players to the currently running game)
- Mineopoly.admin.queue (allows a player to see who is in the game queue)
- Mineopoly.admin.kick (allows a player to kick someone from the game)
- Mineopoly.admin.reload (allows a player to reload the config)
- Mineopoly.admin.set-paste-location (allows a player to set the location where the board is pasted)
- Mineopoly.admin.start (allows a player to manually start the game)
Permission Tips
This only works if TacoAPI version 2.3.3 or later is installed
To give a player all 'general' permissions:
- Mineopoly.general.*
To give a player all 'admin' permissions:
- Mineopoly.admin.*
To give a player all permissions that Mineopoly requires:
- Mineopoly.*
Commands
Title Deed/Property Commands
/property, /mpolyproperty, /mpolyprop, /mpolyp, /mproperty, /mprop, /prop, /mp, and /p are acceptable
- /property add-house [property] - Add a house to a property
- /property add-hotel [property] - Add a hotel to a property
- /property buy - Buy the property you're standing on
- /property info [name] - see information on a property
- /property remove-house [property] - Remove a house from a property
- /property remove-hotel [property] - Remove a hotel from a property
- /property sell [property] <player> <price> - Offer to sell a property to a player
- /property trade [your-property] <player> <their-property> - Offer to trade a property with another player
Jail Commands (for when a player is jailed)
/jail, /mpolyjail, /mpolyj, /mjail, /mj, and /j are acceptable
- /jail card - use a Get Out of Jail Free card
- /jail bail - pay bail
- /jail roll - roll the dice to try to get out of jail
Player Commands
/mineopoly, /mgame, /mpoly, /mg, and /m are acceptable
- /mineopoly deeds [player] - see a player's title deeds
- /mineopoly et - end your turn
- /mineopoly game-info - View game info
- /mineopoly join - enter the queue to join a game
- /mineopoly join channel - join the MineopolyChannel (you will be able to see messages output by the plugin, as well as see messages by players
- /mineopoly menu - Open the game menu
- /mineopoly monopolies [player] - see a player's monopolies
- /mineopoly quit - forfeit from the game
- /mineopoly roll - roll the die, if your turn or you rolled doubles
- /mineopoly stats [player] - see player stats
Admin Commands
- /mineopoly add <player> - forcefully add a player (will not work if mineopoly.game.add-even-when-banned is set to false)
- /mineopoly ban <player> - prevent a player from playing Mineopoly
- /mineopoly kick <player> - remove a player from the game
- /mineopoly end - end the current game
- /mineopoly queue - see the players in the game queue
- /mineopoly resume <save-name> - resume the specified game
- /mineopoly save <save-name> - save the current game as <save-name>
- /mineopoly set-paste-locatioon/spl - Set the location of the board
- /mineopoly start - manually start the game
- /mineopoly unban <player> - allow a player to play Mineopoly again
Trading Commands
/mpolytrade, /mpolyt, /mtrade, /mt, /t are acceptable
- /trade accept <player> - Accept a trade request from a player
- /trade cancel <player> - Cancel a trade request with a player
- /trade decline <player> - Decline a trade request from a player
Voting Commands
/mpolyvote, /mpolyv, /mvote, /mv, and /v are acceptable
- /vote continue - Vote to continue the game
- /vote end - Vote to end the game
House Rules
House rules are a new feature in 1.5. It allows you to adjust the gameplay experience.
- house-sycronization - If set to true, players can only improve on a property if the houses for each property in a color are the same before or after the improvement were to be done. Default: false
- land-on-go-bonus - A bonus for landing excactly on go. Default: 0
- money-cap - If any player reaches this amount of money, they automatically win. Must be higher than starting-money. Default: 0 (no cap)
- purchase-after-go-passes - Players have to pass go this many times in order to buy property. Default: 0
- starting-money - The amount of money players start with in the game. Default: 1500
- time-limit-minutes - The game will end if it runs too long. Default: 0 (no time-limit)
- traveling-railroads - See here
- bail-price - The amount a player has to pay to get out of jail Default: 50
- collect-while-jailed - Players can collect rent while in jail. Default: false
- improvement-requires-location - Players can only add houses or hotels to a property if they are standing on it. Default - false
- improvement-requires-monopoly - Players can only add houses or hotels to a property if they have a monopoly for that property's color. Default: true
- improve-while-jailed - Players can add houses and hotels to their properties while in jail. Default: false
- trade-anytime - Players can start a trade even if it is not thier turn. Default: false
- trade-while-jailed - Players can start or participate in trade while in jail. Default: false
Sessions
Sessions are a new system in 1.4 that allow players to leave (log out) for a short amount of time before being kicked form the game. The default amount of time is 1 minute.
When a player logs off, they are not automatically kicked from the game. If they have not logged in within a certain amount of time (mineopoly.sessions.session-timeout-minutes), then the player will be kicked.
Game Saves
Game saves are a new system in 1.4. It allows you to save the current game, and then resume it later.
- To save a game, use /mineopoly save <save-name>
- To resume the game, use /mineopoly resume <save-name>
Creating Cards
Mineopoly allows the customization of the Chance and Community Chest cards. A card is basically a YAML file that consists of a description and action.
These files can be named whatever you want, as long as they are in the right folder.
Actions
The action of the card determines what the card does when it is 'drawn'
- give # - gives the player money
- jail - jails the player
- move # - makes the player move forward (or backward if the number is negative)
- movenearest [railroad/utility] - moves the player to the nearest railroad or utility
- moveto # - makes the player move the section that has that specific id
- payall # - makes the player pay every other player an amount of money
- payplayer - makes all other players pay the player that drew the card (opposite of payall)
- paypot # - makes the player put money in the pot
- repairs # # - makes the player put an amount of money for every house (first number) and every hotel (second number) they own
- take # - takes money from the player
Variables
Variables are new in 1.4. They allow you to add various strings to the card's description.
- %<id> - Will be replaced with the name of the space with the given id
- %randomDev - Will be replaced with either jeb_, notch, Dinnerbone, or EvilSeph (random)
- %randomPlayer - Will be replaced with the name of a random player playing Mineopoly (but not the person that drew the card)
- %randomSpace - Will be replaced with the name of a random space on the board.
Depenencies
Installation
Unzip the file, put the jar in the plugins folder. The .schematic file and the cards folder goes in the Mineopoly folder located inside the plugins folder (create it if it does not exist)
Setup
Start the server so the config can be generated. Before allowing anyone to join the queue, search for a good spot for the board to go (easier if the world is SUPERFLAT). Write down the coordinates and edit the config file as needed (change the world name if needed too, the default is 'world'), or use /mineopoly spl. Then restart/reload the server.
Credits
- KILL3RTACO - Builder of Board, Programmer
- TChand - Builder of Board
If there are any features you'd like to suggest feel free to pm me. If it something that is already involved with Monopoly, like community chest/chance cards cards for example, you still can but i might ignore it or tell you it should already be implemented/is going to be.
Monopoly ® and Parker Brothers ® are registered trademarks of © Hasbro Inc. I do not own any of the games concept nor do I own the game itself. I am just providing a way to play this game inside a minecraft server.
Source
Available via GitHub
Just checked out the new version and I found one HUUUGE bug with tacoapi and 2 small issues with mineopoly.
First the big bug: The new version of tacoapi once installed deletes any item the player is holding when they right click. (I can give you the server log if needed)
Secondly: When the game is ended using /mineopoly end the players are not teleported back to there previos location.
Last issue so far: Not really a bug, but it would be nice if all of the trade menus and such had a "back" button to return to the previos menu.
Looks awesome though. I'm glad you were able to use my suggestions. : ) thanks a bunch!
@KILL3RTACO
Ok cool just wanted to make sure it wouldn't effect you. : )
@SpookyPirate
Isn't a problem, there won't be /menu grab-like command in Mineopoly, as the inventory of a player is not tampered with when they are added to the game, meaning that a player could possibly not have enough space in their inventory to hold everything.
Plus, there are so many 'buttons' that it probably wouldn't fit in a player's inventory anyway.
As for aliases, I will add some more. Each command as an alias where you can use the first letter only. For instance, /mineopoly can also be /m, /jail can be /j, and /property can be /p. Command aliases can be found in the 'Commands' section of the plugin page.
I posted a bug for createyourownmenus on there bukkit dev site where items with lore in them were not being able to be used normally like players that have lore in there bows were unable to shoot them. I don't know if this would effect what your doing with the menus but I just wanted to let you know. : ) They have already updated there source code to fix it.
Oh and another request if it wouldn't be too much. I am having conflicts with a few of the commands for mineopoly. Like the minigames plugin uses /mgame too and the /jail roll and other jail commands conflict with the essentials /jail command. Would it be possible to prefix all commands with a uncommon name like /mpoly or something like that and give us an option in the yml to turn off the other aliases? If not its fine bit it would be helpful if you could. Thanks again. : )
Awesome! I'm glad you liked the idea. : ) yea I thought the dev made his source available and I've seen a couple apis for doing menus that I was going to tell you about but you found it. : P. Can't wait to see it in action!
@SpookyPirate
I'll look into that...
I thought maybe it would interest you if I updated the status of the "custom menus" they are actually going quite well, good thing the maker of that plugin made his source available... The CreateYourOwnMenus plugin will not be a dependency for Mineopoly, meaning that you don't need to have the plugin installed for the menus to work. Some "buttons" open other menus, like when wanting to see stats or properties of another player.
Thanks for the suggestion!
Hello again. I have just noticed that every player on my server has access to every mineopoly command regardless of which permissions they have. Even if a player has no permissions at all they still have access to them. Is this effecting anybody else?
Ok. If you would like to join the sever and see exactly how the menus work, you are welcome to do so. 76.166.198.91:25565
@SpookyPirate
Interesting concept... I might look into something like that
I went ahead and just made a quick video showing my idea. Hopefully you don't mind.
Ok. On my server I used the createyourownmenus plugin to make custom menus for monopoly and have blocks on every single space for players to access the menu. This has sped up gameplay dramatically. I have an idea using these menus that would make trading pretty simple and would work similar to the way console versions of monopoly handle trading. If you are interested I could make a video showing this and it may give you some ideas. I don't know how to code but I've been told I have good ideas. : )
@SpookyPirate
At the moment there isn't a way for players to trade among each other, I've been trying to think of a way without it causing too much time
As for voting to end the game, I'll see what I can do about that, thank you for the suggestion
Is there currently a way to trade in the game? Also a suggestion I have, Could you implement a way for players to vote to end the game? Thanks for the awesome plugin.
@willschab
A house like an NPC house?
Hey yur plugin is so fun. I was wondering, this may seem very hard, but what if when you add a house could it be possible for a house to spawn in that slot?
Hello there. Has anyone made a tutorial video on setting this up? Or is there a written tutorial anywhere?
@Legokid184
Sorry about that, there was a typo in the link. They should both work now
The download link for the map and cards doesn't work.
@KILL3RTACO
Good to see most of the bugs are fixed. Just something I've also noticed, the quit/exit command is not very obvious for people in the queue.