Blackjack 让你可以在 Minecraft 中玩二十一点!

此插件需要 Vault 和 ImageOnMap。
玩法说明
- 右键点击写有“New Game”的空告示牌,以最低注码加入牌桌。
- 右键点击庄家面前的背面朝上的牌,以抽取一张牌。
- 你可以通过点击两个告示牌之一来加倍或分牌。
- 如果你不想再要牌了,请右键点击桌子上的任意方块。
- 所有玩家结束后,庄家会抽牌,本轮结束。
- 想要加入下一轮,请再次右键点击你的告示牌。
- 你可以通过点击庄家左侧的告示牌,逐步提高或降低你的注码。
安装与配置
- 1. 将 "Blackjack.jar" 复制到服务器的 plugins 文件夹中。
- 2. config.yml 将会被保存。选项说明详见文件内部。
- 3. 使用 "/bj setup" 生成并将扑克牌保存到新的地图中。
在生成过程中,请勿在整个服务器中使用或创建卡牌!
你的游戏模式可能会变为生存模式。在过程完成前,你不会死亡也无法拾取物品。
- 4. 卡牌生成完成后,你可以使用 "/bj create" 创建一个新的二十一点牌桌。
输入 "/bj create <name>" 可以创建一个指定名称的牌桌。
输入 "/bj createvip (<name>)" 可以创建一个 VIP 牌桌。
命令列表
玩家命令
你可以使用 "/blackjack"、"/bj" 和 "/sbj" 来执行二十一点相关命令。
/bj help ([page]) - 打开指定页面的二十一点帮助信息。
(别名: 'h', '?')
/bj join - 将你传送至第一个有空位的牌桌。
(别名: 'j')*
/bj teleport [tablenr or tablename] - 将你传送至指定的牌桌。
(别名: 'tp', 't' 或直接输入 '/bj [tablename or tablenr]')
/bj stake [stake] - 更改你下一轮的注码。你可以在告示牌的第二行看到你的当前注码。
(别名: 'setstake')
/bj viplist - 显示 VIP 名单。
(别名: 'vip', 'vips')
/bj isvip [player] - 检查某玩家是否为 VIP。
管理员命令
/bj reload - 重新加载配置文件和 VIP 名单。
/bj cleardata - 删除包含所有牌桌数据的 data.yml 文件。
/bj setup - 首次使用该插件时下载卡牌资源。
/bj create - 创建一个名为 'Table<nr>' 的新牌桌。
/bj create [name] - 创建一个指定名称的新牌桌。
/bj createvip ([name]) - 创建一个名为 'Table<nr>' 或指定名称的新 VIP 牌桌。
(别名: 'vipcreate', 'viptable')
/bj undo - 撤销上一个创建的牌桌。(恢复所有方块。)
/bj delete - 删除你面前的牌桌。
(别名: 'del','remove','rem')
/bj forcedelete - 强制删除你面前的牌桌。(如果牌桌损坏导致正常删除失败时使用。)
/bj togglevip ([Tablename]) - 为你站立位置的牌桌或指定名称的牌桌添加/移除 VIP 状态。
(别名: 'toggle', 'viptoggle')
/bj setlimit [limit] - 设置牌桌上限。设为 0 表示无上限。
(别名: 'setmaximum')
/bj setminimum [limit] - 将牌桌下限设置为指定值,并将牌桌上限设置为 <limit*multiplier>。
/bj color [colorname or colorID] - 为你站立位置的牌桌着色。颜色 ID 为羊毛方块的数据值。
(别名: 'setcolor')
/bj setblock [ID] ([data]) - 将牌桌的十个方块设置为指定方块。ID 和数据值之间可以用 ':' 分隔。
/bj setwall [ID] ([data]) - 将牌桌后方的墙壁设置为指定方块。ID 和数据值之间可以用 ':' 分隔。
/bj addvip [Player] - 将该玩家加入 VIP 名单。
/bj removevip [Player] - 将该玩家从 VIP 名单中移除。
(别名: 'remvip', 'deletevip', 'delvip')
/bj invclear - 清空你的背包。
/bj getcard [card] ([count]) - 给你指定数量的指定卡牌。仅使用卡牌的前两个字母。例如 'HA' (红桃 A) 或 'D8' (方块 8)
/bj restoreall - 崩溃后恢复所有玩家的背包数据。
权限组
默认权限
- blackjack.play - 允许玩二十一点
- blackjack.stake - 允许更改注码 ("/bj setstake")
- blackjack.teleport - 允许传送至牌桌 ("/bj [number]")
- blackjack.viplist - 允许使用 "/bj vips" 和 "/bj isvip [Playername]"
管理员权限
- blackjack.* - 所有二十一点相关权限
- blackjack.setup - “/bj setup” 命令的权限
- blackjack.create - 创建普通桌子的权限(“/bj create”)
- blackjack.delete - 删除桌子的权限(“/bj delete”)
- blackjack.forcedelete - 当正常删除失败时,强制删除桌子。(“/bj forcedelete”)
- blackjack.edit - 编辑桌子的权限(“/bj setlimit”、“/bj setmaximum” 和 “/bj setminimum”)
- blackjack.color - 更改桌子颜色的权限(“/bj color”)
- blackjack.setblock - 更改桌子的方块 ID 和数据值的权限(“/bj setblock” 和 “/bj setwall”)
- blackjack.getcard - “/bj getcard” 命令的权限
- blackjack.invclear - “/bj invclear” 命令的权限
- blackjack.reload - “/bj reload” 命令的权限
- blackjack.restoreall - “/bj restoreall” 命令的权限
- blackjack.vip - 在 VIP 桌子游玩的权限
- blackjack.managevips - 管理 VIP 玩家的权限(“/bj addvip” 和 “/bj removevip”)
- blackjack.createvip - 创建 VIP 桌子的权限(“/bj createvip” 和 “/bj togglevip”)
- blackjack.cleardata - 删除 data.yml 文件的权限(“/bj cleardata”)
待办事项
- 添加 Spigot 兼容性
请勿使用 WorldEdit 或类似插件破坏或编辑任何桌子方块!
这会导致桌子数据损坏和服务器错误!
感谢 ZioBlack97 提供的意大利语翻译,你太棒了 ;)
如果你有想法或发现了 bug,欢迎通过私信联系我。
你也可以纠正我蹩脚的英语(我是德国人)。:D
我想为我的插件添加更多语言,如果有人能帮忙翻译就太好了。;)
希望能在真正的服务器上看到我的插件运行效果(而不是我那只有 4 个槽位的插件测试服务器 :D ),所以如果你在使用我的插件,可以发送你的服务器 IP 给我。
我的工作都是免费的,但如果你想支持我,也可以捐赠。
Blackjack allows you to play blackjack in Minecraft!

This plugin requires Vault and ImageOnMap.
How to play
- Right-click on a free sign with 'New Game' to join the table with the minimum stake.
- Right-click on the face-down card next to the dealer to draw a card.
- You are able to double or split by clicking on one of the two signs.
- If you don't want any more cards, right-click on a block of the table.
- After all players are finished, the dealer draws his cards and the round ends.
- To join the new round right-click on your sign again.
- You can higher and lower your stake step by step by clicking on the sign to the left of the dealer.
Installation and configuration
- 1. Copy "Blackjack.jar" in your server's plugin folder.
- 2. The config.yml will be saved. The options are explained in the file.
- 3. Use "/bj setup" to generate and save the playing cards to new maps.
Do not use or create cards on the whole server while generating!
Your gamemode may change to survival. You cannot die or pickup items until the process is finished.
- 4. After generating the cards, you can create a new blackjack table with "/bj create".
You can create a table with a specific name by typing "/bj create <name>".
You can create a VIP table by typing "/bj createvip (<name>)".
Commands
Player Commands
You can use "/blackjack", "/bj" and "/sbj" to perform Blackjack commands.
/bj help ([page]) - Opens the Blackjack help on the specified page.
(Alias: 'h', '?')
/bj join - Teleports you to the first table with a free seat.
(Alias: 'j')*
/bj teleport [tablenr or tablename] - Teleports you to the specified table.
(Alias: 'tp', 't' or type '/bj [tablename or tablenr]')
/bj stake [stake] - Changes your stake for the next round. You can see your stake in the second line of your sign.
(Alias: 'setstake')
/bj viplist - Displays the VIP list.
(Alias: 'vip', 'vips')
/bj isvip [player] - Checks if a player is VIP.
Admin Commands
/bj reload - Reloads the config and the VIP list.
/bj cleardata - Deletes the data.yml containing all tables.
/bj setup - Downloads the cards when you use the plugin for the first time.
/bj create - Creates a new table named 'Table<nr>'.
/bj create [name] - Creates a new table with the specified name.
/bj createvip ([name]) - Creates a new VIP table named 'Table<nr>' or with the specified name.
(Alias: 'vipcreate', 'viptable')
/bj undo - Undo creating the last table. (Restores all blocks.)
/bj delete - Deletes the table in front of you.
(Alias: 'del','remove','rem')
/bj forcedelete - Forces the deletion of the table in front of you. (If the table is corrupted and the normal deletion fails.)
/bj togglevip ([Tablename]) - Add/Remove VIP status to/from the table you're standing or the table with the specified name.
(Alias: 'toggle', 'viptoggle')
/bj setlimit [limit] - Sets the table limit. Set it to 0 for no limit.
(Alias: 'setmaximum')
/bj setminimum [limit] - Sets the table minimum to the specified value and the table limit to <limit*multiplier>.
/bj color [colorname or colorID] - Colors the table you're standing. The colorIDs are the data values of wool blocks.
(Alias: 'setcolor')
/bj setblock [ID] ([data]) - Sets the ten blocks of the table to the specified block. You can separate ID and data with a ':'.
/bj setwall [ID] ([data]) - Sets the wall behind the table to the specified block. You can separate ID and data with a ':'.
/bj addvip [Player] - Puts the player on the VIP list.
/bj removevip [Player] - Removes the player from the VIP list.
(Alias: 'remvip', 'deletevip', 'delvip')
/bj invclear - Clears your inventory.
/bj getcard [card] ([count]) - Gives you the the specified card. Only use the first letters from the card. E.g. 'HA' (Heart Ace) or 'D8' (Diamond 8 )
/bj restoreall - Restores all player inventories after a crash.
Permissions
Default permissions
- blackjack.play - Permission to play blackjack
- blackjack.stake - Permission to change your stake ("/bj setstake")
- blackjack.teleport - Permission to teleport to a table ("/bj [number]")
- blackjack.viplist - Permission for "/bj vips" and "/bj isvip [Playername]"
Admin permissions
- blackjack.* - All Blackjack permissions
- blackjack.setup - Permission for "/bj setup"
- blackjack.create - Permission for creating normal tables ("/bj create")
- blackjack.delete - Permission for removing tables ("/bj delete")
- blackjack.forcedelete - Forces deleting a table if normal deletion fails. ("/bj forcedelete")
- blackjack.edit - Permission for editing tables ("/bj setlimit", "/bj setmaximum" and "/bj setminimum")
- blackjack.color - Permission to change a table's color ("/bj color")
- blackjack.setblock - Permission to change a table's block IDs and data values ("/bj setblock" and "/bj setwall")
- blackjack.getcard - Permission for "/bj getcard"
- blackjack.invclear - Permission for "/bj invclear"
- blackjack.reload - Permission for "/bj reload"
- blackjack.restoreall - Permission for "/bj restoreall"
- blackjack.vip - Permission to play at VIP-tables
- blackjack.managevips - Permission for managing VIPs ("/bj addvip" and "/bj removevip")
- blackjack.createvip - Permission for creating VIP-tables ("/bj createvip" and "/bj togglevip")
- blackjack.cleardata - Permission to delete the data.yml ("/bj cleardata")
To do
- Adding Spigot compability
Do not destroy or edit any table blocks with WorldEdit or similar plugins!
It will cause corrupted tables and server errors!
Thanks to ZioBlack97 for the Italian translation, you are awesome ;)
Feel free to contact me by PM if you have an idea or if you found a bug.
You can also correct my bad English (I'm German). :D
I want to add more languages to my plugin, it would be nice if someone helps me with the translations. ;)
It would be nice to see my plugin in action on a real server (not my 4-slot plugin test server :D ), so if you use my plugin, you can send me your server IP if you want.
All my work is free, but you can support me if you want.
评论 0
登录后参与评分
还没有评论,来抢沙发吧