• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

SkywarsX:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
无编辑摘要
第51行: 第51行:
*自带排行榜!可以创建随时自动刷新的告示牌排行榜或者悬浮文字排行榜。
*自带排行榜!可以创建随时自动刷新的告示牌排行榜或者悬浮文字排行榜。
*阵亡后的旁观者模式可以随时传送到每个玩家身边并且查看他们的背包。
*阵亡后的旁观者模式可以随时传送到每个玩家身边并且查看他们的背包。
*Set the coins/exp modifier of players to any number you want! You can also reset their stats! This also applies to offline players
*可以随时设置某个玩家的经验值和金钱,还可以重置某个玩家的数据。支持操作离线玩家的数据哦!
*You can spawn mobs that will not attack you or your teammates and you can also equip them with armor and items through shift right clicking them
*你可以生成一些怪物,不过它们不会攻击你和你的队友。你还可以用装备右键它们来给它们穿上盔甲!
*You can vote for Health and Time and Chests!
*自带箱子物品数量和血量上限投票。
*Amazing rollback system that rollbacks arenas effectively and quickly with little to no lag, using a custom class to decrease memory usage, and a queue system to prevent overloading the server
*神奇的回档系统:不会崩服!不会出错!精准回档!
Killstreaks! You can run your own commands on players once they reach a certain killstreak
*一个世界里可以有多个房间。
*You can have multiple arenas per world
*可以用作生存插件或者其它类似的小游戏。
*Can be used as a survivalgames plugin, or other similar minigame
*游戏结束时赢家头上会放烟花,并且可以在聊天栏中显示获胜者的头像!
*Fireworks ending, with an option to give winners a map and also to display your custom images on that map
*自带高度自定义的商店!
*Customizable shops!
*自带成就系统!
*Achievements! track player stats and award them with your custom prizes.
*支持创建自定义的职业,战前玻璃笼,粒子和其它特殊的内容,不管他们是否有权限!
*Create your own kits, cages, trails, and specify their rarity, cost, name, content, and whether they require a permission or not!
*可自定义的记分板标题
*Animated scoreboard title! (Optional)
*自带世界管理功能:支持导入、创建、删除、传送和列出所有世界。不需要别的插件的支持!甚至可以给你的地图备份!
*Built in world management commands! import/create/delete/teleport/list worlds without the need of other plugins. you can even backup worlds and restore them!
*自带一个警告系统,当玩家做的事情给服务器带来异常时,可以将玩家踢出服务器。
*A warning system, where doing certain activities more than x amount of times will result in the player getting kicked!
*支持UUID和玩家普通ID。
*Supports UUID and normal names as well
*有没有SQL数据库都可以运行。
*Works with MySQL or without!
*可指定什么时候箱子重置。
*Specify when chests should refill and how often
*可存储巨大的玩家信息!从杀人数、金币、赢的次数、死亡数和数据修改次数到破坏方块数、合成数、附魔次数和更多!
*Save so many player stats! starting from kills, coins, wins, deaths, modifier, and such, and ending with blocks placed, blocks broken, items crafted, items enchanted, and many more!
*几乎可以自定义所有显示给玩家的信息,记分板和告示牌都可以自定义文字。
*Customize most of the text that appears to players, such as messages or scoreboard text or even signs text. The lobby scoreboard is completely customizable (The order of lines and type of information displayed)
*自动加入指令可以把玩家放置到当前最佳的游戏房间。
*Autojoin command that will put the players in the best available arena
*自带非常酷的告示牌和玩家排行。
*Cool signs that show the arena state and players count
*自带可自定义玩家内容的基础变量。
*Basic API that allows developers to access players stats and get top players, and also some events
*支持PlaceholderAPI和MVdWPlaceholderAPI插件!
*PlaceholderAPI Support and MVdWPlaceholderAPI Support
*非常酷的记分板!
*Cool scoreboards!
*自带跟踪器!
*Tracking compass!
*神秘的礼盒!你可以用一个很低的价格购买神秘的礼盒并获得随机的物品!而且还是可以自由定义的。
*Mystery Box! You can unlock random items for a low cost with a very cool animation.
*自带升级系统!你可以设置当玩家到达什么等级时可以执行什么命令,拥有什么权限。
*Ranking system! you can run custom commands when a player reaches a certain rank
*轻量级的冷却协调。
*Detailed and lightweight cooldown system
*自带非常酷的GUI界面而且很容易使用。
*Very cool GUI's that are simple and easy to use
*自带广播系统,可以让玩家在游戏过程中看到你的网站。
*Built in broadcaster, so you can display your tips and tricks or advertise your website
*分开的聊天系统!每个房间有每个房间的聊天系统,不会看到别的房间的聊天。
*Separate chats! People in different arenas have their own chat
*可以@人!如果你有权限,你在一句话前面输入@可以全服聊天!
*Global chat! Starting a message with @ will send it to everyone (If the user has permission)
*自带一个神奇的GUI界面来管理和创造你自己的队伍!队伍拥有的功能庞大。
*Create parties and invite players and manage all party settings through an amazing gui! Parties FULLY use GUI's without a single command. You can also use the party chat feature if the message starts with an exclamation mark
*Customize party slots, and set certain amount of slots to certain permissions
*Customize party slots, and set certain amount of slots to certain permissions
*Spectators can instantly join a new game
*Spectators can instantly join a new game

2019年8月28日 (三) 12:23的版本

本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
SkywarsX
图标无法上传
外文名SkywarsX
作者Wazup92
插件类型Spigot / CraftBukkit
最新版本4.0
兼容服务端1.7-1.14
前置插件
源地址http://dev.bukkit.org/bukkit-plugins/SkywarsX
Banner

介绍

一个终极的小游戏!

在一瞬间就可以以最简单的方式创建空岛战争房间!

玩家可通过在GUI商店购买或者在神秘礼盒中解锁新的职业,新的战前玻璃外观和粒子效果。

想要变强?完成成就吧!升级吧!

你可以创建队伍并与你的朋友一起愉快地游戏!

游戏中阵亡后,可以切换旁观者模式并且观摩你的队友的骚操作。

OP可以删除玩家作弊获得的内容,

这个插件拥有最高的效率!并且可以高度自由定义。

警告

  • 这是一个付费插件,在购买这个插件之前,你最好阅览完整个页面的内容。这是怕你在购买了之后又因为没有某个你想要的功能而后悔,给你带来更麻烦的事情。
  • 当你购买了这个插件后表明你已经同意了这个插件协议:
不反编译这个插件;
不将插件在未经作者授权的情况下分享给他人。
  • 这个插件已经够高度自定义的了,但是没有达到完全自由定义。如果你需要翻译插件里显示的每一行、每一个单词,你要么购买这个插件的源码,要么就走开。
  • 你的建议并不一定会被采纳。如果作者感觉你的建议只是出于你的利益考虑,那就不会采纳。所以如果你发表建议了一个内容很多次但却一只不会被采纳,请不要对此生气。

特点

  • 你想要创建多少房间就创建多少。
  • 插件非常独立自主!可以自行运行。你甚至不需要安装多时间插件!还能跟其它小游戏插件兼容!
  • 竞技场可以是单人,双人,多人的。
  • 你可以自己单独设置某个房间的药水效果(一加入游戏就能获得某些效果,而且一直保持着)
  • 在群组服模式的时候如果子服只有一个房间,所有在群组服里点击到那个子服的玩家都会被强制加入同一个房间中,不能选择。
  • 当玩家阵亡时自动切换成旁观者模式!当然也可以旁观其它已开始游戏的房间。
  • 自带经济(金钱)系统,不过可以兼容Vault经济插件。
  • 更多玩家加入某个房间的时候,系统会自动缩短开始游戏倒计时。
  • 玩家不能打破队友身下的方块(已经设置好玩家不能坑队友)
  • 自带防止跑路PVP系统(玩家在被别人打击的时候退出游戏再加入时会被设置为死亡)。
  • 用TitleManager(标题管理器)可以自定义并且代替原有的Tab列表和记分板插件。
  • 高度自定义箱子随机生成物品及时间间隔。
  • 可以自定义添加和减少开局时箱子给玩家的物品。
  • 自带排行榜!可以创建随时自动刷新的告示牌排行榜或者悬浮文字排行榜。
  • 阵亡后的旁观者模式可以随时传送到每个玩家身边并且查看他们的背包。
  • 可以随时设置某个玩家的经验值和金钱,还可以重置某个玩家的数据。支持操作离线玩家的数据哦!
  • 你可以生成一些怪物,不过它们不会攻击你和你的队友。你还可以用装备右键它们来给它们穿上盔甲!
  • 自带箱子物品数量和血量上限投票。
  • 神奇的回档系统:不会崩服!不会出错!精准回档!
  • 一个世界里可以有多个房间。
  • 可以用作生存插件或者其它类似的小游戏。
  • 游戏结束时赢家头上会放烟花,并且可以在聊天栏中显示获胜者的头像!
  • 自带高度自定义的商店!
  • 自带成就系统!
  • 支持创建自定义的职业,战前玻璃笼,粒子和其它特殊的内容,不管他们是否有权限!
  • 可自定义的记分板标题
  • 自带世界管理功能:支持导入、创建、删除、传送和列出所有世界。不需要别的插件的支持!甚至可以给你的地图备份!
  • 自带一个警告系统,当玩家做的事情给服务器带来异常时,可以将玩家踢出服务器。
  • 支持UUID和玩家普通ID。
  • 有没有SQL数据库都可以运行。
  • 可指定什么时候箱子重置。
  • 可存储巨大的玩家信息!从杀人数、金币、赢的次数、死亡数和数据修改次数到破坏方块数、合成数、附魔次数和更多!
  • 几乎可以自定义所有显示给玩家的信息,记分板和告示牌都可以自定义文字。
  • 自动加入指令可以把玩家放置到当前最佳的游戏房间。
  • 自带非常酷的告示牌和玩家排行。
  • 自带可自定义玩家内容的基础变量。
  • 支持PlaceholderAPI和MVdWPlaceholderAPI插件!
  • 非常酷的记分板!
  • 自带跟踪器!
  • 神秘的礼盒!你可以用一个很低的价格购买神秘的礼盒并获得随机的物品!而且还是可以自由定义的。
  • 自带升级系统!你可以设置当玩家到达什么等级时可以执行什么命令,拥有什么权限。
  • 轻量级的冷却协调。
  • 自带非常酷的GUI界面而且很容易使用。
  • 自带广播系统,可以让玩家在游戏过程中看到你的网站。
  • 分开的聊天系统!每个房间有每个房间的聊天系统,不会看到别的房间的聊天。
  • 可以@人!如果你有权限,你在一句话前面输入@可以全服聊天!
  • 自带一个神奇的GUI界面来管理和创造你自己的队伍!队伍拥有的功能庞大。
  • Customize party slots, and set certain amount of slots to certain permissions
  • Spectators can instantly join a new game
  • Hitting a player with an arrow will show that player health
  • GUI's that you can scroll through, this allows to display large amount of items in a single inventory
  • Create holographic stats and leaderboard!
  • 22 default kit, 51 default cage, 50 default trail, 53 default achievements!
  • You can also add your custom game modes easily. For example you can add LuckyBlock mode easily by dropping a LuckyBlock plugin and adding your lucky blocks into the arena!
  • Smooth, well designed, created to be able to handle large amount of players
  • Force start/stop arenas, and reload the plugin with a simple command rather than reloading the whole server
  • Edit/Create/Delete/List chest types/categories on the fly with a simple command
  • Players that leave while in-game will drop their items!
  • Edit arenas on the fly!
  • Heavily dependent on gui's, to keep things simple
  • Are you really still reading? I mean... I'm tired of typing all that! so in simple and easy conclusion, THIS PLUGIN IS PACKED

配置

配置文件过多。请前往[SkywarsX/配置文件]

指令&权限

  • Format: /Command -> Permission
  • /Skywars | /SW -> None
  • /Skywars join -> None
  • /Skywars leave -> None
  • /Skywars autojoin -> None
  • /Skywars list -> None
  • /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)]

[Gameplay + Music (v1.7)]

[Gameplay + Music (v1.0)]

教程

安装教程

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%
结尾

参考资料

https://www.spigotmc.org/resources/%E2%99%9B-skywars-x-%E2%99%9B-solo-teams-kits-cages-trails-mystery-box-parties.28120/