Memory
The popular card game Memory, also known as Concentration or Pairs, is now available for minecraft!
Memory is a quick and fun game to play when someone needs a break from building, farming and mining. It is extremely easy to play, as is the setup of a default game. With the manual setup option, more ambitious admins can customize almost anything and create their own, individual setups.
Playing the Game
The cards Memory is usually played with are represented by item frames. To start a game, right-click the PLAY-sign near the frame field. The frames will turn empty (if they aren't already). Each frame has a dedicated item, where two frames have one of the same type. Choose two frames by right-clicking them, so they will display their item. If both items are the same, you found a new pair and they will remain visible. Otherwise the two frames will turn blank after a moment and you have to try again. Goal is, to find all pairs, so in the end, all items are visible.
If you want to quit a game before you are done, simply type /memory quit
. The rules can be displayed at any time by using the command /memory rules
.
Create a Game
To create a game, you need the permission Memory.setup
. Go to the location you want your game to be placed. Then type /memory create [name]
, replaceing the [name]
-parameter with an unique name for this game. The plugin will now attempt to create a game in front of you, if there is nothing in its way.
Manually Setup a Game
If you want to create a custom game, you need the same permission as before Memory.setup
. Start by typing /memory setup [name]
where [name]
is again replaced by an unique game name. Then start placing an even number of frames on a wall or wherever you want them to be. Don't fill any of them with items yet. When you are done placing the frames, type /memory done
. Now fill half of the placed frames with items of your choice. Note: all items have to have a different ID. A different data value, i.e. coloured wool is not enough. After filling half of the frames, the plugin will ask you to place the PLAY-sing. To do so, just place an empty sign near the frames.
Delete a Game
Memory protects all frames and blocks involved in a game. No player can destroy them. To delete a game, use the command /memory delete [name]
. This works for both, automatically and manually created games. The Permission for this command is Memory.setup
.
Configuration
Permissions:
Permission | Description |
Memory.play | Allows to play Memory games |
Memory.setup | Allows to create new Memory games |
config.yml:
There is only one config option right now:
Cofig.Blacklist:
Items on this list won't be choosen in an automatically generated game. You can still use them in manual setup.
Check out my other Plugins
NoEnderpeal - Blocks the teleport funktion of enderpearls in chosen regions or worlds
BuildContest - Makes managing build contests on your server very easy.
NoEggPort - Keeps Players from stealing dragon eggs from regions they don't have permission for.
Changelog
- v. 1.1
- Fixed permissions for /memory quit and /memory rules
- Added HighScore System:
- /memory highscore
- /memory myscore
- /memory resethighscore
- Fixed a typo in the "area obstructed message"
- The success msg no longer appears when creating a game failes
- v. 1.0
- initial release
- initial release
Planned Features
- Customizable messages
- Optional reward
- Customizable material for default games
If you have any further suggestions, please let me know :)
-Although having tested this plugin on different servers in many situations without any problems, I cannot guarantee the functionality with your individual setup, and cannot be held responsible for any loss. If you have any errors, please report them providing the complete server log of this error, aswell as a list with your installed plugins and I will try to fix it.
@MysticCity
Any Errors in your Logs that might hint us to why it is not saving?
my memory board dont save after restarting the server :(
@EN7
Yes it does
Does this work in 1.7?
@WizardCM That is strange, all boards and games should be saved and restored on server restart. Is there a folder in you plugins folder called "Memory"? And if so, which files does it contain?
@The_Wizard Yes, I'm aware of that problem, but unfortunately there isn't much I can do about that untill bukkit adds that to their API.
Regards, minoneer
Creepers can destroy the game.
The boards are not saved/restored on server restart, which means I have to remake the boards on every server restart. That's annoying. :(
@minoneer
I know but didn't worked.
@CollinDesigns
The commands are:
/memory myscore /memory highscore
the highscore, myscore and resethighscore aren't working. Give unknown command.
@CollinDesigns
Ok, I'll look at the space check again aswell. On my test server, it ist responding instantly, but that could be different on a regular server with other stuff running and many player. Not sure if I can do anything about that. But I'll definately try to fix the permissions. The revard option is also a great idea, I'll add that to the planned features.
@minoneer
Yes I made a room big enough and create a game and wanted 5 blocks further an other one but its saying no space....
Idk about the lagg, seems like the frame sometimes respond slow upon rightclicking it.
Yes my players have the perm .play and they can start a game by rightclicking the sign, but they can't use .quit or .rules..... they have to log off or finish game to quit...and no accses to rules...I do as Owner (op) but idk how or why they can't.... i'm the only one with .setup but idk if thats the problem....
Ok so the game can only face W and E for now. :)
As suggestion: Make the player who completes it get an item that was inside the game he was playing :) if possible ofc :p
@CollinDesigns
Again, thanks for the feedback!
"when typing /memory create it should create a game in front of you, in direction you facing. I can't face it the way I want now so..."
-> I tried to do so, but without success. Unfortunately, bukkits API won't let me change the direction frames are facing :( I'll implement it as soon as that's fixed.
"Seems like i responds bit laggy"
-> When exactly does the lag occur? And is it just the game or the whole server that's lagging?
"My players can't accses /memory quit or /memory rules so I tried to give them also perms for: memory.quit and memory.rules but doesn't work... :( fix please?"
I'm guessing they all have the permission Memory.play ? Because that should give them access to /memory quit and /memory rules ... I'll do some testing and see if i can find the error. Sorry about that.
"When I make a memory game and I want to create one behind it (since i'm making a memory 'room' since only 1 player a game...) its saying: "Area obstucted. Please choose a different location. Here is you new memory game! Enjoy :)" And yes its also saying 'obstucted'' so thats a typo aswell. But its saying 'Here is you new....' but it doesn't create a new one... Even when I try to make a new one at least 10 blocks behind/in front of other one its saying it.... "
Ok, it semms like something got mixed up with the messages there. It shouldn't say "here is your new memory game..." when it failed to create one... I'll fix that. And the typo aswell ;)
About the obstructed area: When creating a game, it always checks the area where the blocks, the frames, and the play sign will be. If any of those are not air, it won't create a game (to prevent it from destroying other stuff). Are you sure the whole area (hight 5 x with 6 + the sign x depth 2) ist clear?
Regards minoneer
Lovely plugin! As suggestion I would say: make the sign have bold text: &l And when typing /memory create it should create a game in front of you, in direction you facing. I can't face it the way I want now so...
Though awesome job!!
Edit: Seems like i responds bit laggy and its hard to right click the top row for players without fly
Edit: My players can't accses /memory quit or /memory rules so I tried to give them also perms for: memory.quit and memory.rules but doesn't work... :( fix please?
Edit: When I make a memory game and I want to create one behind it (since i'm making a memory 'room' since only 1 player a game...) its saying:
"Area obstucted. Please choose a different location. Here is you new memory game! Enjoy :)"
And yes its also saying 'obstucted'' so thats a typo aswell. But its saying 'Here is you new....' but it doesn't create a new one... Even when I try to make a new one at least 10 blocks behind/in front of other one its saying it....