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

SkywarsX

来自Minecraft插件百科
Jeason Lan留言 | 贡献2019年8月28日 (三) 11:17的版本
跳转到导航 跳转到搜索
本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
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列表和记分板插件。
  • 高度自定义箱子随机生成物品及时间间隔。
  • 可以自定义添加和减少开局时箱子给玩家的物品。
  • 自带排行榜!可以创建随时自动刷新的告示牌排行榜或者悬浮文字排行榜。
  • 阵亡后的旁观者模式可以随时传送到每个玩家身边并且查看他们的背包。
  • 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!
  • Supports UUID and normal names as well
  • 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 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
  • 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)
  • 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
  • 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/