ГДЕ Я: Black-Minecraft.com » Плагины » Voting - голосование на сервере стало еще веселее
Скачать плагин
Voting - голосование на сервере стало еще веселее
[3.2.0]
Подписаться

Описание:
Кто не понял, то ща переведу...
1.Особеность ето можно голосовать через меню
2. Особеность - задержка голосования
3.Особенность - время на голосование
4. Особенность - легкий в настройке + перевод под свой регион
5. Економика, но нужен Vault
6. После окончание времини на голосование игрокам выведет результат
Команды:
Дополнительные права
Конфиг(config.yml):
#Name: Voting
#Description: Minecraft extension, which allows players to determine about various situations using voting system.
#Author: SobkySK
#Contact: Discord: Sobky #5528 | Spigot PrivateMessage
#Fully customizable visual of the resource.
#If you have own translated file and you want to publish it, please send me a PrivateMessage on Spigot or Discord
#Available localizations: EN
Locale: EN
#Plugin sends anonymous data such as version of this resource, your server version and addition data of configuration.
#These data will help me in future development.
#All requests are asynchronous, so it has no impact on server's performance.
Analytics:
Active: true
Конфиг на голосование(votingunits.yml):
DAY:
Name: Day
Type: GLOBAL
Category: WEATHER
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Result:
Time: 0
NIGHT:
Name: Night
Type: GLOBAL
Category: WEATHER
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Result:
Time: 13000
SUN:
Name: Sun
Type: GLOBAL
Category: WEATHER
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Result:
Rain: false
Lighting: false
Duration: 12000
RAIN:
Name: Rain
Type: GLOBAL
Category: WEATHER
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Result:
Rain: true
Lighting: false
Duration: 12000
STORM:
Name: Storm
Type: GLOBAL
Category: WEATHER
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Result:
Rain: true
Lighting: true
Duration: 12000
KICK:
Name: Kick
Type: GLOBAL
Category: CUSTOM
ImmediateInitiatorVote:
Active: true
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Parameter:
Target:
Name: player
Type: PLAYER
Resistance:
Initiator:
Active: true
Collection:
- "player_name"
Reson:
Name: reason
Type: PAYLOAD
Optionality: true
DefaultValue: "Unknown"
Result:
Command:
Global:
- "kick {p_player} {p_reason}"
EVENT:
Name: Event
Type: GLOBAL
Category: CUSTOM
ImmediateInitiatorVote:
Active: false
Price:
Start: 0
Vote: 0
Restriction:
World: [ ]
Parameter:
Target:
Name: question
Type: PAYLOAD
Конфиг для перевода плагина(я не сказал что будет автоматический перевод:))
Prefix: "&9&lVoting &e\u2771"
Errors:
ConsoleError: "&cCommand can be performed only via Player!"
NoPermissions: "&cYou are not permitted to use this action!"
WrongCommandUsage:
Unsupported: "&cWrong usage of command!\n&e\u25CF &7Unsupported command sequence"
Hint:
Common: "&cWrong usage of command!\n&e\u25CF &7&lHINT &e\u00BB &b{replacement}"
Tab: "&cWrong usage of command!\n&e\u25CF &7&lHINT &e\u00BB &b{replacement}\n&e\u25CF &7&lHINT &e\u00BB &dUse Tab to complete command sequence"
Round:
NotRunning: "&cCurrently, no voting round is running!"
Running: "&cThere is not able to start next round, while another is running!"
Vote: "&cYou have already placed a vote at this round!"
Economy:
Start: "&cBalance of your account does not let you to start voting!\n&e\u25CF &7You need &b${amount} &7to start a round."
Vote: "&cBalance of your account does not let you to vote at this round!\n&e\u25CF &7You need &b${amount} &7to place a vote."
Restriction:
Start: "&cYou are standing in world, where is not allowed to start a voting round!"
Vote: "&cYou are standing in world, where is not allowed to place a vote!"
Pause:
Global: "&cThere is not able to start next round, while pause is running!\n&e\u25CF &7Please wait &e\u00BB &b{remains}s"
Personal: "&cYou are not allowed to start next round!\n&e\u25CF &7Please wait until &e\u00BB &b{available_at}"
MinPlayers: "&cNot enough players to start next round!\n&e\u25CF &7Please wait unit &b{player_count_min} &7players will be online."
Parameter:
Player: "&cPlayer &b{player} &cwas not found on this server!"
World: "&cWorld &b{world} &cwas not found!"
Resistance:
Initiator: "&cYou, as an initiator of the round, cannot be used as a parameter!"
Collection: "&cValue &b{resistance_value} &ccannot be used as a parameter!"
Administration:
Alias:
Save: "&cAn error at saving localization file occurred!"
Reload:
Options: "&cA critical error occurred! Check options file! Disabling plugin..."
Sign:
Unit:
NotFound: "&cUnit &b{unit} &cwas not found at system!"
Parameter: "&cUnit &b{unit} &crequires additional parameters to start a round!\n&e\u25CF &7There is not able to create sign for this unit."
Vote:
NotFound: "&cValue of Vote &b{vote} &cwas not found at system!\n&e\u25CF &7Allowed values &e\u00BB &bYes/No/Agree/Disagree"
GUI:
Pause: "&cThere is not able to open GUI, while pause is running!\n&e\u25CF &7Please wait &e\u00BB &b{remains}s"
Error: "&cAn unexpected error at opening GUI has occurred!\n&e\u25CF &7Please contact staff."
Success:
Round:
Vote: "&7You have successfully placed a vote!"
Start:
Initiator: "&7Round has started!\n&e\u25CF &7Please wait until evaluation."
Weather: "&b{initiator} &7would want &b{state} &7in world &b{world}&7!"
Custom:
KICK: "&b{initiator} &7wants to kick &b{p_player} &7for reason &b{p_reason}"
EVENT: "&b{initiator} &7placed a question &e\u00BB &7'&b{p_question}&7'"
Join:
Weather: "&7Round for &b{state} &7in world &b{world} &7in progress!"
Custom:
KICK: "&7Round for kicking &b{p_player} &7for reason &b{p_reason} &7in progress!"
EVENT: "&7There is placed a question &e\u00BB &7'&b{p_question}&7'"
Result:
Success:
Weather: "&aSuccessful &7Round for &b{state} &7in world &b{world}&7!"
Custom:
KICK: "&aSuccessful &7Round for kicking player &b{p_player}&7!\n&e\u25CF &7Kicking out..."
EVENT: "&aSuccessful &7Round for question &e\u00BB &7'&b{p_question}&7'"
Fail:
Weather: "&cUnsuccessful &7Round for &b{state} &7in world &b{world}&7!"
Custom:
KICK: "&cUnsuccessful &7Round for kick player &b{p_player}&7!"
EVENT: "&cUnsuccessful &7Round for question &e\u00BB &7'&b{p_question}&7'"
Ratio: "&7Result ratio &e\u00BB &a&l{agree} &7: &c&l{disagree}"
Sign:
Create: "&7Sign created!"
Destroy: "&7Sign destroyed!"
Administration:
Alias: "&7World &b{world} &7has new alias &b{alias}&7!"
Reload:
All: "&7Whole plugin successfully reloaded!"
Locale: "&7Localization and it's dependencies successfully reloaded!"
Options: "&7Options and it's dependencies successfully reloaded!"
Units: "&7Units and it's dependencies successfully reloaded!"
Help:
Player:
- "&9&lVoting &e\u2771 &7Basic commands"
- "&e\u25CF &7Info &e\u00BB &b/Voting Info"
- "&e\u25CF &7GUI &e\u00BB &b/Voting"
- "&e\u25CF &7Start a round &e\u00BB &b/Voting <Unit>"
- " &3\u25CF &c&lHINT &e\u00BB &7Use &eTab &7to complete command sequence"
- "&e\u25CF &7Place a vote &e\u00BB &b/Voting <Agree/Disagree>"
Admin:
- "&9&lVoting &e\u2771 &7Admin commands"
- "&e\u25CF &7Admin Info &e\u00BB &b/VotingAdmin Info Admin"
- "&e\u25CF &7Set world's alias &e\u00BB &b/VotingAdmin Alias <World> <Alias>"
- "&e\u25CF &7Reload &e\u00BB &b/VotingAdmin Reload <[All]/Locale/Options/Units>"
BossBar:
Category:
Weather: "&7&lPlace vote for &e&l{state} &7&lin world &e&l{world}&7&l! &8&l| &7&lEnds in &3&l\u00BB &e&l{time}s"
Custom:
KICK: "&7&lPlace vote to kick &e&l{p_player}&7&l! &8&l| &7&lEnds in &3&l\u00BB &e&l{time}s"
EVENT: "&7'&e&l{p_question}&7' &8&l| &7&lEnds in &3&l\u00BB &e&l{time}s"
Clickable:
PlaceVote:
Agree:
Click:
Prefix: "&e\u25CF"
Message: "&a&nYes&7, I agree with this statement!"
Hover:
Message: "&7Click, to place a vote!"
Disagree:
Click:
Prefix: "&e\u25CF"
Message: "&c&nNo&7, I disagree with this statement!"
Hover:
Message: "&7Click, to place a vote!"
Alias:
World:
world: "Survival"
Unit:
Weather:
DAY: "Day"
NIGHT: "Night"
SUN: "Sun"
RAIN: "Rain"
STORM: "Storm"
InitiatorType:
CONSOLE: "Administrator"
Vote:
AGREE: "Agree"
DISAGREE: "Disagree"
Sign:
ROUND:
SLEEPING:
1: "&9&lVoting"
2: "&0&l{unit_base}"
3: ""
4: "&2Click to start!"
RUNNING:
1: "&9&lVoting"
2: "&0&l{unit_running}"
3: "&4&lRunning"
4: "&2&lEnds in &9\u00BB &4&l{time}s"
PAUSING:
1: "&9&lVoting"
2: ""
3: "&4&lPause"
4: "&2&lWait &9\u00BB &4&l{time}s"
VOTE:
SLEEPING:
1: "&9&lVote"
2: "&0&l{vote}"
3: ""
4: ""
RUNNING:
1: "&9&lVote"
2: "&0&l{vote}"
3: "&4For &9\u00BB &0&l{unit_running}"
4: "&2Place a vote!"
PAUSING:
1: "&9&lVote"
2: "&0&l{vote}"
3: ""
4: ""
GUI:
Base:
VotingUnitGUI:
InventoryName: "&9&lVoting"
Item:
Unit:
DAY:
HeadName: "&3&lDay time"
Lore:
- "&6\u25CF &7Click to start round!"
NIGHT:
HeadName: "&2&lNight time"
Lore:
- "&6\u25CF &7Click to start round!"
SUN:
HeadName: "&e&lSunny weather"
Lore:
- "&6\u25CF &7Click to start round!"
RAIN:
HeadName: "&9&lRainy weather"
Lore:
- "&6\u25CF &7Click to start round!"
STORM:
HeadName: "&7&lStormy weather"
Lore:
- "&6\u25CF &7Click to start round!"
VotingVoteGUI:
InventoryName: "&9&lVoting - Round"
Item:
Button:
Agree:
HeadName: "&a&lAgree"
Lore:
- "&6\u25CF &a&lYes&7, I agree with this statement!"
- ""
- "&6\u25CF &7Click, to place a vote!"
Disagree:
HeadName: "&c&lDisagree"
Lore:
- "&6\u25CF &c&lNo&7, I disagree with this statement!"
- ""
- "&6\u25CF &7Click, to place a vote!"
Base:
Delimiter:
HeadName: " "
Lore: [ ]
Lock:
HeadName: "&c&lLock"
Lore:
- "&6\u25CF &7Vote has been already placed!"
Info:
Category:
Weather:
HeadName: "&2&lRound information"
Lore:
- "&6\u25CF &7For &6\u00BB &3{state}"
- "&6\u25CF &7World &6\u00BB &3{world}"
- ""
- "&6\u25CF &7Remains &6\u00BB &3{time}s"
Custom:
KICK:
HeadName: "&2&lRound information"
Lore:
- "&6\u25CF &7Kick &6\u00BB &3{p_player}"
- "&6\u25CF &7Reason &6\u00BB &3{p_reason}"
- ""
- "&6\u25CF &7Remains &6\u00BB &3{time}s"
EVENT:
HeadName: "&2&lRound information"
Lore:
- "&6\u25CF &7Question &6\u00BB &3{p_question}"
- ""
- "&6\u25CF &7Remains &6\u00BB &3{time}s"
Меню для 1.8.8 - 1.12.х(GUI.yml):
GUI:
Base:
VotingUnitGUI:
Item:
Unit:
DAY:
Material: "WATCH"
Materialdаta: 0
Slot: 0
NIGHT:
Material: "BED"
Materialdаta: 0
Slot: 2
SUN:
Material: "DOUBLE_PLANT"
Materialdаta: 0
Slot: 4
RAIN:
Material: "WATER_LILY"
Materialdаta: 0
Slot: 6
STORM:
Material: "BLAZE_POWDER"
Materialdаta: 0
Slot: 8
VotingVoteGUI:
Item:
Button:
Agree:
Material: "STAINED_CLAY"
Materialdаta: 5
Slot: 5
Disagree:
Material: "STAINED_CLAY"
Materialdаta: 14
Slot: 7
Base:
Delimiter:
Material: "STAINED_GLASS_PANE"
Materialdаta: 15
Slot: 3
Lock:
Material: "STAINED_GLASS_PANE"
Materialdаta: 15
Slot: 6
Info:
Material: "GLOWSTONE_DUST"
Materialdаta: 0
Slot: 1
Конфиг для 1.13.х - 1.16.х
GUI:
Base:
VotingUnitGUI:
Item:
Unit:
DAY:
Material: "CLOCK"
Materialdаta: 0
Slot: 0
NIGHT:
Material: "BLUE_BED"
Materialdаta: 0
Slot: 2
SUN:
Material: "SUNFLOWER"
Materialdаta: 0
Slot: 4
RAIN:
Material: "LILY_PAD"
Materialdаta: 0
Slot: 6
STORM:
Material: "BLAZE_POWDER"
Materialdаta: 0
Slot: 8
VotingVoteGUI:
Item:
Button:
Agree:
Material: "GREEN_CONCRETE"
Materialdаta: 0
Slot: 5
Disagree:
Material: "RED_CONCRETE"
Materialdаta: 0
Slot: 7
Base:
Delimiter:
Material: "BLACK_STAINED_GLASS_PANE"
Materialdаta: 0
Slot: 3
Lock:
Material: "BLACK_STAINED_GLASS_PANE"
Materialdаta: 0
Slot: 6
Info:
Material: "GLOWSTONE_DUST"
Materialdаta: 0
Slot: 1
Настройка для 1.8.8
Options:
Command:
Voting:
Aliases:
- "vot"
VotingAdmin:
Aliases:
- "votadmin"
Economy:
Active: false
Type: "NONE"
Round:
Duration: 60
Pause:
Global:
Active: true
Duration: 10
Personal:
Active: true
Duration: 300
MinPlayers: 2
TimeChangeAnimation:
Active: true
Speed: 100
Visual:
DateFormat: "dd.MM.yyyy HH:mm"
Chat:
MessageJoiningChar: " "
ActionBar:
Active: true
Progress:
Char: "\u25CF"
Count: 10
Color:
Positive: "&a"
Negative: "&c"
Info:
Join:
Active: true
Interval:
- "60:55"
- "45:40"
- "30:25"
- "10:1"
GUI:
Base:
VotingUnitGUI:
LineCount: 1
VotingVoteGUI:
LineCount: 1
Настройка для 1.9.х-1.16.х
Options:
Command:
Voting:
Aliases:
- "vot"
VotingAdmin:
Aliases:
- "votadmin"
Economy:
Active: false
Type: "NONE"
Round:
Duration: 60
Pause:
Global:
Active: true
Duration: 10
Personal:
Active: true
Duration: 300
MinPlayers: 2
TimeChangeAnimation:
Active: true
Speed: 100
Visual:
DateFormat: "dd.MM.yyyy HH:mm"
Chat:
MessageJoiningChar: " "
ActionBar:
Active: true
Progress:
Char: "\u25CF"
Count: 10
Color:
Positive: "&a"
Negative: "&c"
Info:
Join:
Active: true
Interval:
- "60:55"
- "45:40"
- "30:25"
- "10:1"
GUI:
Base:
VotingUnitGUI:
LineCount: 1
VotingVoteGUI:
LineCount: 1
Ну извините что не всё перевел времини нету...
Как установить плагин ?
перед установкой установите плагин: AdvancedDevelopmentLibrary
- Скачайте архив.
- Откройте архив и выберите плагин для своей версии сервера и переместите в папку plugins вашего сервера.
- Перезапустите сервер.
- Готово.
Скачать плагин версии 3.2.0
Чтобы скачать с сайта, необходимо ЗАРЕГИСТРИРОВАТЬСЯ!
Скачать плагин версии 3.1.0
Чтобы скачать с сайта, необходимо ЗАРЕГИСТРИРОВАТЬСЯ!
Возможно вам будет интересно:
Внимание:
Посетители, находящиеся в группе Гость, не могут оставлять комментарии к данной публикации.
Обновите плагин.
Рейтинг коммента: 0 Сегодня, 18:11