Sky Wars
#1
Mini-game Sky Wars Smile

Version 2016.01.30

[UA] Якщо потрібно, можу створити опис на рідній мові.
RU:

Описание:
- Все данные хранятся в БД (файл sqlite).
- В Cuberite есть баг, который приводит к падению сервера при телепортации между мирами. По этой причине карты Sky Wars создаются на краю мира. Точку создания карт можно указать в файле config.ini. Рекомендую ее не менять. После того, как этот досадный баг будет исправлен - можно будет делать отдельный мир для создания карт.
- Все карты, которые создаются для раунда - удаляются с крты после его окончания.

Что реализовано в плагине:
- Создание своих собственных карт.
- Нополенение сундуков вещами.
- Установка количества игроков для начала раунда.
- Установка количества точек спауна игроков.
- Установка указателя для подачи заявки на участие в раунде.
- Поддержка нескольких карт в одном мире.
- Возможность переноса карт на другие сервера Cuberite, на которых установлен этот плагин.
- Установка точки создания карты.
- Еще что-то, чего не помню уже Smile

Описание на русском еще буду доделывать Smile



Overview:
- All data save in database (sqlite file).
- There are some bugs in the Cuberite where multiply cross world teleports crush the server. For that reason all Sky Wars maps load near world border. World map spawn point set in config.ini. When bug was resolved I'm recommend create "Sky Wars" world and change config.ini.
- All spawned maps delete after round is over (in world, not DB Wink).

What can you do:
- Create custom maps
- Set items into chests
- Set number of players for the map
- Set number of spawn points
- Set sign for game request
- Multiply maps per world.
- Copy maps to any server.
- Play the mini-game Smile
- Configure map spawn point in config.ini file
- Something that I forgot Smile

Where you can test the plugin:
You can try the plugin on m-c.link:25567 server. White house near world spawn point

Commands list:
/sw is synonym (alias) for /SkyWars

/sw r - send request to map queue. (/sw request)

Map create commands:
/sw pc <amount> - set amount of players to start the game
/sw m - mark map 2 points (upper and lower) (/sw mark)
/sw s <name> - (/sw save)
/sw l <name> - load map (/sw load)
/sw e - exit from exit mode (/sw exit)

/sw sp - (/sw spawn) - process spawn point
/sw sp m - mark player spawn point (/sw sp mark)
/sw sp l - list spawn points (/sw sp list)
/sw sp d - delete spawn point (/sw sp delete)
/sw sp tp - teleport to spawn point

How to translate:
Edit file "msgs.lua" in UTF8 encoding

How to create maps:
- Create/load map in air.
- Put items in chests.
- Execute "/sw mark" and mark 2 opposite point of map. Lower point and upper point.
- Execute "/sw save <map name>". There are some information about chests process, etc.
- Execute "/sw sp m" and click on block over players will spawn.
- Create sign for players requests.

How to create sign for players request:
- Firs row is '[SkyWars]'.
- Second row is name of map.
- Third and fourth rows are comments and do not processed by plugin.

How to load map:
- Execute /sw m
- Mark one lower point in current world (x, y, z)
- Execute /sw l <map name>
- Execute /sw e

How to edit map:
- Load map
- Edit map
- Save map (/sw s <old name>)

How to backup/copy map to different server:
All data saved in "sky_wars_maps.sqlite3" file.
- Go to plugin directory
- Copy file in new location

Deault config.ini:
Code:
[General]
showConsoleDebugMessages=true
MapBorderPositionX=2900000
MapBorderPositionY=254
MapBorderPositionZ=2900000
instanceWorldName=world
PlayerReconnectDataRestoreTimeout=3

showConsoleDebugMessages - Show debug messages in server console. Values: true or false.

MapBorderPositionX - Firs map max spawn point on X axis.
MapBorderPositionY - Firs map max spawn point on Y axis.
MapBorderPositionZ - Firs map max spawn point on Z axis.

instanceWorldName - Name of world where maps will created and played. Do not use quotes. Set clean world name.

PlayerReconnectDataRestoreTimeout - I do not remember Sad

Known bugs:
- There are private area create map unplayable. There are two different plugins. Plugin "Private" protect area. Therefore you must delete private areas where your Sky Wars maps will spawned.

To do:
- Fix some bugs Smile

Source
Download
Reply
Thanks given by: tonibm19 , Adumm5


Messages In This Thread
Sky Wars - by DrMasik - 05-19-2016, 04:10 PM
RE: Sky Wars - by DrMasik - 08-19-2016, 07:16 PM
RE: Sky Wars - by Boo - 09-01-2016, 04:31 AM
RE: Sky Wars - by DrMasik - 09-01-2016, 06:52 AM



Users browsing this thread: 1 Guest(s)