ChessCraft
Overview
ChessCraft is a Bukkit plugin which lets you play chess. It has support for multiple chessboards and multiple concurrent games, playing against other players, or against the computer. Multiple board and piece styles are supported, along with an integrated piece designer, player ranking ladder and more.
Latest Version
- ChessCraft 2.5.2 for CraftBukkit 1.7.9+
- ChessCraft 2.4.5 for CraftBukkit 1.7.2-R0.3/1.6.4-R2.0
- ChessCraft 2.3.4 for CraftBukkit 1.6.2-R0.1/1.5.2-R1.0/1.4.7-R1.0
Note: the ChessCraft for Bukkit plugin is completely unrelated to the Forge ChessCraft mod which can be found here: http://www.minecraftforum.net/topic/1621907-1467101chesscraft-play-chessbetter-than-chess
Videos
- See the Videos page for some demonstration & tutorial videos.
Features
- Complete implementation of the rules of chess (including castling, promotion, en passant etc.)
- Create as many chessboards as you like in your world(s), and run multiple concurrent games on them
- Create different board and chess set styles (several board/set styles are included)
- Players can fly around chess boards even without creative mode (v1.3.0+ needed)
- Permissions support (via Bukkit superperms)
- Economy support via Vault - bet economy credits on a game
- Play against human or AI opponents (using the jChecs AI engine or external engines via the XBoard protocol)
- WorldEdit support - terrain restoration if & when boards are deleted
- ScrollingMenuSign Support - create useful command menus of games/boards
- Integrated chess piece designer
- Translations - ChessCraft messages can be translated into other languages
- Database support: game results and game details (PGN) are saved to SQLite or MySQL database
- Leaderboard showing the top players on the server based on game results saved to the database
Installation
- Copy ChessCraft.jar into your Bukkit plugins/ folder.
- Optional: If you want Economy support, you will also need to install the Vault plugin.
- Optional: If you have WorldEdit installed, terrain will be automatically backed up when chess boards are created (and restored upon board deletion). WorldEdit v5.3+ is required - WorldEdit-5.3-SNAPSHOT or any earlier release will not work.
- Optional: If you have ScrollingMenuSign installed, ChessCraft will create SMS menus for board/game management. See ScrollingMenuSign Support.
- Optional (2.4.0+): If you have Dynmap installed, chessboards will be marked on your maps.
- Optional (2.4.0+): If you have Citizens installed, entity chess sets will be available, using NPC's for chess pieces.
- Optional (2.4.0+): ProtocolLib is a recommended dependency if you are using entity chess sets, to quieten mobs down.
- Restart or reload your server.
Documentation
- Quickstart Guide
- Command Reference
- Configuration File
- Getting Around The Board
- Board Styles
- Piece Styles
- List of stock board and piece styles
- Piece Designer
- Time Controls
- Permissions Support
- ScrollingMenuSign Support
- Player Leaderboard
- WorldEdit Support
- Economy Support
- Dynmap Support
- AI - Computer Players
- Translations
Source
Development Versions
Development versions can be downloaded from this Jenkins build server. Notes:
- Development versions have not been approved by dev.bukkit.org staff
- Development versions may be buggy or fail to work completely. Only use development versions if you a) want to help with finding bugs, or b) have been asked to, to test a bugfix.
Bukkit Forums
Changelog
Bugs and Feature Requests
Use the Tickets tab to submit any bug reports or feature requests.
Usage Statistics
Since ChessCraft v1.1.0, fully anonymous usage statistics are collected using MCStats:
If you wish to opt out of MCStats metrics collection, edit plugins/PluginMetrics/config.yml
and change opt-out: false to true.
Donations
If you use and enjoy ChessCraft, you are welcome to make a donation by clicking the "Donate" button at the top right. However, donations are strictly optional, and don't confer any special benefits over non-donors.
Good news everybody!
The new v1.4.0 release brings the ability to undo moves, a Portugese translation and a bunch of bug fixes: http://dev.bukkit.org/server-mods/chesscraft/files/20-chess-craft-v1-4-0/
@GarretSidzaka
Try this: http://dl.dropbox.com/u/12467600/prereleases/chesscraft-1.4.0-pre1.jar
Hopefully that will become the full 1.4.0 release without any changes.
There's a donate button at the top right of this page :)
can you link me the dev build plz
:) i was about to come on the thread and start screaming but you duplicated the bug!! thank you so much! put a donate link up for me
@GarretSidzaka
Update: OK, found one problem with flying.allowed - if it's set to false, and a player logs in standing on a chessboard, they can still fly. This is fixed in dev now, and will be in the next release (which should be very soon).
Would still like to know what "fly detectors" you mean...
@GarretSidzaka
/chess set flying.allowed false
doesn't disable flying for you? Just tested it here, and flying definitely gets disabled.What "fly detectors" do you mean? Are you running some fly/cheat prevention plugin?
And
/chess set auto_delete.running <x>
should help with your other problem. See Configuration. You can also of course just manually delete games with/chess delete game <game-name>
. The default is large by design to minimise the risk of valid games getting wiped just because they haven't been played in a while, but you can setauto_delete.running
to whatever timeout you like.Btw abandoned games use virtually no CPU time. It's just a couple of boolean checks and a sign update once every 20 ticks, so probably not the cause of any lag you're seeing.
DEAR GOD PLEASE FIX THE FLYING CONFIG!@@!%%
i cant turn off flying and its setting off my fly detectors!!!
i set flying to false and set all the integers t to 0 and its still letting ppl fly!!@$%!@%!
also 28 days for the kill time is sill, i had all 8/8 boards occupied with abandonded games and it was TPS lagging me BADLY
good luck we love your plugin!! i want to keep it forever!!
@ofnature
You're welcome. I'll keep an eye out for that problem anyway.
@desht
Server is survival my character was in creative and I used /chess create board board1 -style large to create the boards. I had it happen to me into places, both in the same world, but a little distance a way.
No errors showed up in my console and it is working fine now.
Thank you for this plugin btw!
@zempire2010mjk
Yeah... board light level is actually already configurable -
/chess board set lightlevel <n>
where n is anything from 0..15. Only downside: values other than 15 don't work reliably :)I have done some playing around with this, but manipulating block light levels with low-level NMS calls (Bukkit can't do it at all) isn't very much fun. So far none of my experimentation has worked 100%, but I'm not giving up yet...
@ofnature
Interesting. Never seen that one before. Anything special about where you're standing, the board style, world type (survival/creative...) ?
Works great, most of the time.. Sometimes when I make a new board, the bottom corner (where I stand when I create it) will be missing and in its place a deep hole all the way to bedrock, that is actually a glitch, as you can not enter the hole. Deleting and moving the board usually fixes it.
@desht
Wow! Already nailed the issues. Awesome.
In the mean time I just put the board lighting at 0 (stays dark on creation so long as a game isn't started then it has a very faint light source) so I could place it and worldedit it (though this would be so much easier if I could just create the board into two WE points from the start) into its proper place without leaving those lighting aftereffects.
Your comment about "I can probably force chunk relighting on board deletion if necessary" has me wondering if it is possible (if not to time consuming or hard of course) for you to add in a way to change the board lighting with ease.
I was thinking maybe a command that can easily handle lighting changes for the board area that the player is standing in when its issued. Say like /chess light dawn/noon/dusk and /chess light 1-15 (for finer lighting controls), but most importantly /chess light off so that it creates no lighting at all outside the torches on certain included pieces. Though the light off would be really ideal if it had a lighting active game/lighting inactive game option for the board so you could do say inactive off and active noon.
Right now I can shut the server down, edit lighting in board file, and bring the light effect up little by little (just cannot reverse it atm without deleting board and doing my WE fix).
Just some ideas/suggestions/pipe dreams there, but if anything even just a lighting off at all times option so that only torch light on certain pieces shows would be awesome. I have some board layouts I wanted to do where the board lighting would interfere with the ambient surroundings and lighting ideas I wanted to do.
Anyway, thanks again for looking into those first issues and being so quick about getting fixes already.
@zempire2010mjk
I've not seen lighting issues on board deletion before, but I'll do some more testing and try to reproduce it. I can probably force chunk relighting on board deletion if necessary.
Regarding exceptions on sign clicking - no, that shouldn't happen. I'll take a look at that.
Update: both problems confirmed and fixed in development. Will be in the next update.
How do I get rid of the lighting after a board has been deleted?
I already used worldedit prior to this plugin so when I delete the board it puts everything back the way it was, however, it does not return the lighting effect to being normal. So now at night time I have a huge full sunlight square area wherever a board was.
EDIT:
Well other than stacking blocks real high 10 out from the board edge and selecting that and its opposite corner and doing set 0, undo to remove the lighting and replace the blocks. Has to be an easier way.
Also, is it normal for the plugin to send [severe] Could not pass even PlayerInteractEvent to ChessCraft org.bukkit.event.EventException to the server client when a player with permissions false hits any of the game signs? As I check my permissions setup as my default groups (moving up I've already narrowd this down to being due to them having - -chesscraft.basic for their permission group as when I promote myself back up to the next group that has - chesscraft.basic it allows all panel sign interaction without the error.
Normally this was not an issue in the past since when a player was blocked from building they were also blocked from interacting with objects (doors, buttons, signs, etc), but I needed to block build on my spawning world (which is also used for common gatherings and events) world while allowing interaction with objects so I figured out that with essentials I could bypass the permissions plugins build: false to still allow interaction with those objects (while not being allowed to build) so now this happens on any group that has - -chesscraft.basic whether build: true or build: false unless I set the object use blocking back to prevent in essentials. For right now its not a huge deal to do this, but it makes it a bit harder to pull off as I have to work around with more permissions groups.
Maybe add a built in check so that if the player with false permissions pushes the signs it sends back a msg "you need chesscraft.basic true to interact"?
@GarretSidzaka
Just move the king from E1 (or E8) to G1/G8 or C1/C8.
how do you castle your king?
New release: http://dev.bukkit.org/server-mods/chesscraft/files/17-chess-craft-v1-3-0/
Flight around boards without creative mode, anyone? :)
@desht
Awesome thank you!
@PunJedi
Hmm, looks like your config has "30min" for one of the timeouts (probably
auto_delete.finished
) when it should be "30 min" (note the space between 30 and min there). Shouldn't be too hard to make this more robust in the next release, but your workaround for now is to ensure there's a space between the number and the unit...