- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
SkywarsX:修订间差异
Jeason Lan(留言 | 贡献) (→特点) |
Jeason Lan(留言 | 贡献) (→指令&权限) |
||
第101行: | 第101行: | ||
==指令&权限== | ==指令&权限== | ||
'''统一格式: /指令 -> 权限'' | |||
*/Skywars | /SW -> | */Skywars | /SW -> 无 | ||
*/Skywars join -> | */Skywars join -> 无 | ||
*/Skywars leave -> | */Skywars leave -> 无 | ||
*/Skywars autojoin -> | */Skywars autojoin -> 无 | ||
*/Skywars list -> | */Skywars list -> 无 | ||
*/Skywars admin -> skywars.admin | */Skywars admin -> skywars.admin | ||
*/Skywars setlobby -> skywars.setlobby | */Skywars setlobby -> skywars.setlobby |
2019年8月28日 (三) 14:03的版本
- 点击此处开始翻译。
- 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
- 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
- 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
外文名 | SkywarsX |
作者 | Wazup92 |
插件类型 | Spigot / CraftBukkit |
最新版本 | 4.0 |
兼容服务端 | 1.7-1.14 |
前置插件 | 无 |
源地址 | http://dev.bukkit.org/bukkit-plugins/SkywarsX |
介绍
一个终极的小游戏!
在一瞬间就可以以最简单的方式创建空岛战争房间!
玩家可通过在GUI商店购买或者在神秘礼盒中解锁新的职业,新的战前玻璃外观和粒子效果。
想要变强?完成成就吧!升级吧!
你可以创建队伍并与你的朋友一起愉快地游戏!
游戏中阵亡后,可以切换旁观者模式并且观摩你的队友的骚操作。
OP可以删除玩家作弊获得的内容,
这个插件拥有最高的效率!并且可以高度自由定义。
警告
- 这是一个付费插件,在购买这个插件之前,你最好阅览完整个页面的内容。这是怕你在购买了之后又因为没有某个你想要的功能而后悔,给你带来更麻烦的事情。
- 当你购买了这个插件后表明你已经同意了这个插件协议:
不反编译这个插件; 不将插件在未经作者授权的情况下分享给他人。
- 这个插件已经够高度自定义的了,但是没有达到完全自由定义。如果你需要翻译插件里显示的每一行、每一个单词,你要么购买这个插件的源码,要么就走开。
- 你的建议并不一定会被采纳。如果作者感觉你的建议只是出于你的利益考虑,那就不会采纳。所以如果你发表建议了一个内容很多次但却一只不会被采纳,请不要对此生气。
特点
- 你想要创建多少房间就创建多少。
- 插件非常独立自主!可以自行运行。你甚至不需要安装多时间插件!还能跟其它小游戏插件兼容!
- 竞技场可以是单人,双人,多人的。
- 你可以自己单独设置某个房间的药水效果(一加入游戏就能获得某些效果,而且一直保持着)
- 在群组服模式的时候如果子服只有一个房间,所有在群组服里点击到那个子服的玩家都会被强制加入同一个房间中,不能选择。
- 当玩家阵亡时自动切换成旁观者!当然也可以旁观其它已开始游戏的房间。
- 自带经济(金钱)系统,不过可以兼容Vault经济插件。
- 更多玩家加入某个房间的时候,系统会自动缩短开始游戏倒计时。
- 玩家不能打破队友身下的方块(已经设置好玩家不能坑队友)
- 自带防止跑路PVP系统(玩家在被别人打击的时候退出游戏再加入时会被设置为死亡)。
- 用TitleManager(标题管理器)可以自定义并且代替原有的Tab列表和记分板插件。
- 高度自定义箱子随机生成物品及时间间隔。
- 可以自定义添加和减少开局时箱子给玩家的物品。
- 自带排行榜!可以创建随时自动刷新的告示牌排行榜或者悬浮文字排行榜。
- 阵亡后的旁观者可以随时传送到每个玩家身边并且查看他们的背包。
- 可以随时设置某个玩家的经验值和金钱,还可以重置某个玩家的数据。支持操作离线玩家的数据哦!
- 你可以生成一些怪物,不过它们不会攻击你和你的队友。你还可以用装备右键它们来给它们穿上盔甲!
- 自带箱子物品数量和血量上限投票。
- 神奇的回档系统:不会崩服!不会出错!精准回档!
- 一个世界里可以有多个房间。
- 可以用作生存插件或者其它类似的小游戏。
- 游戏结束时赢家头上会放烟花,并且可以在聊天栏中显示获胜者的头像!
- 自带高度自定义的商店!
- 自带成就系统!
- 支持创建自定义的职业,战前玻璃笼,粒子和其它特殊的内容,不管他们是否有权限!
- 可自定义的记分板标题
- 自带世界管理功能:支持导入、创建、删除、传送和列出所有世界。不需要别的插件的支持!甚至可以给你的地图备份!
- 自带一个警告系统,当玩家做的事情给服务器带来异常时,可以将玩家踢出服务器。
- 支持UUID和玩家普通ID。
- 有没有SQL数据库都可以运行。
- 可指定什么时候箱子重置。
- 可存储巨大的玩家信息!从杀人数、金币、赢的次数、死亡数和数据修改次数到破坏方块数、合成数、附魔次数和更多!
- 几乎可以自定义所有显示给玩家的信息,记分板和告示牌都可以自定义文字。
- 自动加入指令可以把玩家放置到当前最佳的游戏房间。
- 自带非常酷的告示牌和玩家排行。
- 自带可自定义玩家内容的基础变量。
- 支持PlaceholderAPI和MVdWPlaceholderAPI插件!
- 非常酷的记分板!
- 自带跟踪器!
- 神秘的礼盒!你可以用一个很低的价格购买神秘的礼盒并获得随机的物品!而且还是可以自由定义的。
- 自带升级系统!你可以设置当玩家到达什么等级时可以执行什么命令,拥有什么权限。
- 轻量级的冷却协调。
- 自带非常酷的GUI界面而且很容易使用。
- 自带广播系统,可以让玩家在游戏过程中看到你的网站。
- 分开的聊天系统!每个房间有每个房间的聊天系统,不会看到别的房间的聊天。
- 可以@人!如果你有权限,你在一句话前面输入@可以全服聊天!
- 自带一个神奇的GUI界面来管理和创造你自己的队伍!队伍拥有的功能庞大。
- 自定义的队伍位置,并且可以限制队伍位置数量和权限。
- 旁观者可以加入其它房间!
- 用一把弓朝一个玩家射箭可以显示那个玩家的剩余血量。
- 自带强大的GUI,可以随时在游戏中、大厅中用背包里的菜单来打开。
- 支持创建悬浮文字统计数据和排行榜!
- 拥有22个默认职业,51个默认战前玻璃笼,50个默认粒子,53个默认成就!
- 支持其它附属插件的加入例如“幸运方块”。
- 精致的,充分设计过的插件,可以同时容纳多名玩家。
- 可以强制开始/停止某个房间,还可以使用一个指令来重载整个服务器。
- 在游戏过程中离开房间的玩家,背包里的物品会掉落在地上。
- 可设置某些房间可以飞行!
- 简单的设计,需要你充分利用GUI界面来操作。
- 你真的想继续读下去吗?作者:我都懒得打那么多字了......这个插件已经包装好了。
配置
配置文件过多。请前往[SkywarsX/配置文件]
指令&权限
'统一格式: /指令 -> 权限
- /Skywars | /SW -> 无
- /Skywars join -> 无
- /Skywars leave -> 无
- /Skywars autojoin -> 无
- /Skywars list -> 无
- /Skywars admin -> skywars.admin
- /Skywars setlobby -> skywars.setlobby
- /Skywars wand -> skywars.wand
- /Skywars create -> skywars.create
- /Skywars delete -> skywars.delete
- /Skywars addspawn -> skywars.addspawn
- /Skywars removespawn -> skywars.removespawn
- /Skywars start -> skywars.start
- /Skywars stop -> skywars.stop
- /Skywars setspectators -> skywars.setspectators
- /Skywars coins -> skywars.coins
- /Skywars setmodifier -> skywars.setmodifier
- /Skywars holograms -> skywars.holograms
- /Skywars reset -> skywars.reset
- /Skywars edit -> skywars.edit
- /Skywars editmode -> skywars.editmode
- /Skywars reload -> skywars.reload
- /Skywars updatereigon -> skywars.updateregion
- /Skywars chestmanager -> skywars.chestmanager
- /Skywars worldmanager | wm -> skywars.worldmanager
游戏视频
- 这些是原帖作者给出的游戏视频:
[Gameplay + Romanian Commentary (v1.5)]
教程
安装教程
You first want to set the lobby location by doing /sw setlobby so that when players do /sw join they will be teleported there now you should create some arenas
start by using /sw wand and use the tool given to select the 2 corners surrounding your map. Once you have selected the 2 corners, create the arena using /sw create <name> <team size> <min teams> <max teams> This will create a new arena with your defined name. Team size is the amount of players per team, if it was set to 1 then the arena is basically solo Min teams is the minimum amount of teams required for the game to start the countdown. and Max teams on the other hand is the maximum amount of teams the arena can handle at a time
Once the creation process is over, you can now start adding spawnpoints using /sw addspawn <arena> Keep in mind that the plugin will generate the cage, so you shouldn't have built in cages in the arena after you have added your spawnpoints, you can use /sw edit <arena> to enable the arena and change some other settings.
The arena is now ready to be used, but you can also add a join sign for example, or make chests in the middle more powerful. To do that, you should create a new Chest type, using the command /sw chestmanager create normal <Name> this will create new chest type and open up a gui for you, you can add your items in that gui, and don't forget to click 'Save & Apply' After you create your custom chest type, you have to specify which chests are gonna use that chest type, you can do so by doing /sw chestmanager tool <Name>, this will give you a tool that allows you to set specific chests to that chest type, but what if there are too many chests in the middle and you are just lazy? you can select the whole middle area using the wand, and then you can do /sw chestmanager updateregion <Name>, this will set all chests within your selection to the chest type that you specified.
If you want to create a new chest category that people can vote for, then use the same command that you used to create a chest type, but this time don't say the category is 'normal' and instead name it your self (/sw chestmanager create <Name>). This will create a new chest category that has a 'default' chest type where you can put items.
When you add a chest type such as 'Tier2' to a category such as 'Normal' you must add a chest type named 'Tier2' for the other categories. So that no matter which category got the most votes, the chests labeled 'Tier2' will have a location to take items from.
You can also set the location where spectators will be teleported to, but this is optional because if it's not set they will teleport to a random location inside the arena region. To set a specific location for spectators use /sw setspectators <Arena>
You could also use the worldmanager to backup your worlds just incase anything went wrong :)
If you want to make all players automatically join skywars when they join your server you need to enable bungee mode in config.yml! If you have a bungee cord and a lobby system, This plugin will only be on your game server and NOT in your hub server, if you want to join through signs from your hub server, then you need to have a plugin such as TeleportSigns in your hub.
告示牌
To create Skywars signs, the first line has to be [SW]
To create join signs for the lobby, second line has to be 'join'
To create join signs for arenas, second line has to be 'join' while the third line must define the arena name
To create leave signs, second line has to be 'leave'
To create autojoin signs, second line has to be 'autojoin' In this type of signs, you can leave the third line empty, or you can specify 'Solo' or 'Team'
To create leaderboard signs, second line has to be 'top' while the third line must define the stat that you want the plugin to order players stats by. and fourth line is the rank you are looking for! Example: [sw] top kills 1
This will display the top killer! for a list of stats that you can use, simply keep the third line empty and the plugin will show you a list.
You can also add a skull above the sign, and when the leaderboard updates, the skull will display players skins
截图
图片过多,请前往[原帖]观看
其它信息
This plugin works from 1.7.9 and upwards
Any plugin that prevents teleporting while in combat or uses scoreboard features such as teams and prefixes may conflict with Skywars
Using mysql is highly recommended as it increases the performance and protects you from some issues
If you want any holographic feature, you will need to install HolographicDisplays
If you want to use the Holographic Stats feature, you will need to install HolographicDisplays along ProtocolLib
There are some extra permissions! skywars.admin to view admin commands and receive update notifications skywars.createsigns to create skywars signs skywars.breaksigns to break skywars signs skywars.unblockcmds to be able to use commands while in game skywars.vote.health to be able to vote for health skywars.vote.time to be able to vote for time skywars.vote.chests to be able to vote for items skywars.globalchat allows the player to start a message with @ to be sent to everyone if the chat separation features are enabled in config.yml
If vault is enabled in the config, Leaderboards will not show 'Coins' as the player vault money, it will still display the player coins
Massive thank you to Il_Picasso from mc.comugamers.com for providing me a great testing server!
Ask about any concern in the discussion area before purchasing.
Im sorry for any grammar mistakes! im not English.
Before posting a negative review, please ask for help!
变量
代码
package me.wazup.addon; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import me.wazup.skywars.Enums.Stat; import me.wazup.skywars.PlayerData; import me.wazup.skywars.Skywars; import me.wazup.skywars.SkywarsAPI; public class Addon extends JavaPlugin { public void example(){ SkywarsAPI api = Skywars.api; //Get a player playerdata Player p = Bukkit.getPlayer("Wazup92"); PlayerData data = api.getPlayerData(p); //Modifying some of their stats data.addCoins(p, 50); data.kills += 10; //Some booleans api.isInArena(p); api.isSpectating(p); api.isPlaying(p); //Getting top players //First you have to load all players data, this should be Async try { HashMap<String, String> playersData = api.getAllPlayersData(); //You can now get top players out of the playersData, ordered by a specfic stat //If the third argument (int) is bigger than the amount of entries in the playersData hashmap, it will be filled with 'NO_PLAYER' List<Entry<String, Integer>> top = api.getTopPlayers(playersData, Stat.KILLS, 10); //Top now contains the top 10 players, ordered by their kills stat //Entry key is the player name, and the entry value is their score for(int i = 0; i < top.size(); i++){ Bukkit.broadcastMessage("# " + (i+1) + " is " + top.get(i).getKey() + " with a score of " + top.get(i).getValue()); } } catch (SQLException e){ e.printStackTrace(); } //If you want to modify offline players stats, then you have to use a different method, because you can't use the PlayerData class on offline players //The following method returns true if the stat was updated, and it returns false if the player name wasn't found or the stat wasn't updated for some reason //The boolean at the end 'increment' is whether you want to SET their stat to the give value, or you want to add it up try { boolean updated = api.modifyOfflinePlayerStat("Wazup92", Stat.COINS, 50, true); } catch (SQLException e){ e.printStackTrace(); } }
}
变量列表
For the lobby scoreboard customization in (customization.yml) the placeholders are as follows: %kills%, %deaths%, %accuracy%, %wins%, %modifier%, %projectiles_launched%, %projectiles_hit%, %player_exp%, %player_rank%, %blocks_placed%, %blocks_broken%, %selected_kit%, %selected_trail%, %selected_cage%, The placeholders mentioned below are for PlaceholderAPI by clip, if you wanted to use placeholders for MVdWPlaceholderAPI by maximvdw use the same ones below but replace the first % with { and the last % with }. Not player specific placeholders: %skywars_players_count% - Gives the total amount of players in skywars %skywars_parties_count% - Gives the total amount of parties created %skywars_lobby_players_count% Gives the total amount of players in the lobby %skywars_arenas_count% Gives the total amount of arenas created %skywars_kits_count% Gives the total amount of kits created %skywars_trails_count% Gives the total amount of trails created %skywars_cages_count% Gives the total amount of cages created Player specific placeholders: %skywars_kills%, %skywars_deaths%, %skywars_accuracy%, %skywars_wins%, %skywars_modifier%, %skywars_projectiles_launched%, %skywars_projectiles_hit%, %skywars_player_exp%, %skywars_player_rank%, %skywars_blocks_placed%, %skywars_blocks_broken%, %skywars_arena%, %skywars_party_leader%, %skywars_selected_kit%, %skywars_selected_trail%, %skywars_selected_cage% %skywars_teamcolor%, %skywars_coins%