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

“SkywarsX”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
配置
第78行: 第78行:
  
 
==配置==
 
==配置==
这个插件的配置过多。请前往[[http://mineplugin.org/SkywarsX/配置文件 SkywarsX/配置文件]]
+
配置文件过多。请前往[[http://mineplugin.org/SkywarsX/配置文件 SkywarsX/配置文件]]
  
 
==指令==
 
==指令==

2019年8月28日 (三) 14:20的版本

Icon-info.png
本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
Banner

介绍

The ultimate minigame for your server! Create arenas with ease and start playing instantly. Unlock new kits, cages, and trails through purchasing them from the awesome gui shop, or through the mystery box. Rank up and earn achievements as you become more powerful. Create parties and play with your friends as a team. Spectate games when you die and have a laugh on your friends performance. Rollback all the grief caused by players and customize the plugin to your liking! All with maximum efficiency.

警告

  • Please read the FULL page before purchasing.
  • This is so that you don't purchase the plugin, and regret doing so because of a missing feature, or because you misunderstood what the plugin has to offer
  • The reviews section is not the place to be asking for help in. When you are in need of help, please use the discussion area, or send me a private message.
  • Purchasing this plugin means that you agree to the plugin agreement found at the bottom of the page!
  • This plugin is VERY customizable, but NOT FULLY, so if you need to translate every single text or letter, you either have to purchase the source, or look else where.
  • Not all of your suggestions will be taken into consideration. If I feel only you would benefit out of your suggestion it will probably not be added. so some suggestions will straight up be denied and probably never added. and customization requests WILL most likely be rejected. So view what you can change and what you can not CAREFULLY.

特点

  • Create as many arenas as you want.
  • Fully independent! can run by itself. You don't even need multiverse! and it can work with other minigames and plugins, such as factions.
  • Arenas can be solo, or could be teams of 2,3,4,5, anything
  • You can specify a set of potion effects for each arena (Some arenas for example could have infinite Speed I or some might have infinite Strength I and so on)
  • Bungee Mode, which makes the plugin take over the server and force players to join. If the server has only 1 arena and bungee mode is enabled players will be forced to join that arena and the server updates the MOTD according to the game state and restarts when the game ends
  • Spectate on death! or join an active game to spectate it
  • Built-in coins system, but it can also use vault economy
  • Lobby countdown shortening system if there is a certain number of teams joined
  • Players can not break blocks below team members
  • Anti combat log system
  • Can display 1.8 titles and action bar, through TitleManager
  • Modify default chest content and set the min and max amount of items that a chest could have
  • Create your own Chests configuration, and make specific chests use that chest configuration (You can create an infinite amount of chest tiers, and set whatever chest you like to use that tier)
  • Leaderboards! Create signs that will display top players from many many different stats, and you also can display their skull above these signs, you can also create a holographic leaderboard through HolographicDisplays
  • Allow spectators to view players inventories and teleport to them
  • 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/