arrow_back
Плагин
save_alt
Area events command plugin for Pocketmine
  • Автор:genboy
  • Рейтинг:starstarstarstarstar_border
  • Версия плагина: expand_more
  • Версия API:3.0.0 - 3.11.1
  • Скачиваний:2906
  • Дата добавления:28 Nov 2019
save_alt Скачать плагин
Категории плагина
  • category Механизмы
  • warning Необходимое
  • how_to_reg Для админов
  • directions_run Мини-игры
  • insert_emoticon Развлечения
  • nature_people Работа с миром
  • settings_ethernet Разработчикам
  • highlight Образование
  • build Разное
Информация о плагине

Festival

Create a festival with this custom area events plugin for Pocketmine Server:

Create area's, manage flags and run commmands attachted to area events.

> New! Set compass to Area direction! (genboy.net)

> Attach commands to area events! (genboy.net)

( latest stable version @ poggit.io & cpehost.ru)

Festival plugin logo large

Copyright Genboy 2018 - 2019

Festival

The Festival Plugin is released on poggit

New: discord channel for Festival discussions

See and make reviews @ poggit and post your issues @ github - Average time to resolve an issue Percentage of issues still open

Festival 2.1.0 Command usage

If you like to use Festival consider sharing your experience and issues to fix any usability problems before posting a vote! That way it will improve Festival, my coding skills, your Pocketmine-MP insights and strenghten the PMMP community, thank you!

!Take notice of the Copyright Statement if you use Festival for the first time since 27 April 2019. Read the Legal Notice at the bottom of this README file or the Legal Notice tab at poggit.pmmp.io/p/Festival

Overview

version 2

  • Festival Manager Menu (UI + select item) - or use the commands
  • Cube AND Sphere area's set with diagonal, radius or diameter
  • Area's and Config managed from menu
  • Optional Level flag protection
  • Area name (and desc) can now be Full string inCluDing MuLti wORds CaPitaLized
  • Stretching area's up and down with y scaling
  • Use priority number for overlapping area's

version 2.1.0

Mob/animal flag Slapper fix to remain on restart Edit flag protects paintings Fall flag bug fix Turn on compass usage (in development) User can select their area's (whitelisted) to set compass direction Command can be used to set any area compass direction on area event

version 2.1.1

Place compass translations Full fix falldamage Debug areaMessages & config Fix typo's

Download development version: Poggit development Please report bugs -thank you! issues @ github and/or reviews @ poggit

or use devtools plugin and download zip package https://github.com/genboy/Festival/archive/master.zip

Festival version 2 Install: (always save copies of your previous used config.yml and areas.json before re-install)

  1. place phar file or unzipped Festival folder with (Devtools pluginfolder) in server plugins folder and restart,
  2. after restart; 2a. if need previous used configs and areas: delete config.json and areas.json from the root folder and put your config.yml and areas.json in Festival (root) folder 2b. if clean start (no areas) edit /resources/config.yml to your likes and delete config.json from the root folder
  3. Then restart again, now areas.json, levels.json and config.json in Festival (root) folder are used.

( or download latest stable version @ poggit https://poggit.pmmp.io/p/Festival - no Festival menu, only command usage)

Management UI in game: command hold magic item or ** /fe menu** (ui, form, data) ( default magic item 201 - Purpur Pillar block - change in config management) When using the form you need to use the magic item to tab area positions. You can swapp item to build/break during area position 1 and 2 selection.

Or use the commands as shown in the usage image (now with Multi wORd FULLY CapitAlized nameS possible)

Create area with menu:

You can use cmd '/fe menu' or just hold the magic item (purpur block/your selected item/block). Then if you choose create area you should tab the positions with the magic item.
After tab pos1 you may use other blocks to build etc. and then hold the magic item again to tab pos2. Directly after tab pos2 the menu should come back to name your area.

Create area with commands:

Use /fe pos1 and /fe pos2 to tab the positions, after pos2 you need '/fe create area ' to finnish the area creation. After creation both commands and menu can be used to manage the area.


Info

Features

Menu In version 2.0.0 the Festival Management Menu (FormUI) is introduced

Config

  • set default options in config.yml;
    • Language: en - select language English = en, Dutch = nl, es = Español, pl = Polskie - translate please !
    • ItemID: Hold this Magic block/item to enter Menu (default item 201 - Purpur Pillar block)
    • Msgtype: msg - Area Messages Display position (msg/title/tip/pop)
    • Msgdisplay: off - Area Messages persist display to ops (off/op/on)
    • Areadisplay: op - Area Floating Title display to ops (off/op/on)
    • FlightControl: on - To disable flight flag for all Festival usage (on/off)
    • AutoWhitelist: on - Auto whitelist area creator (on/off)

Area

  • Create and manage area’s ingame

    • Define area's by tapping 2 positions
      • diagonal for cube
      • radius for sphere
      • diameter for sphere
    • Scale area's verticaly up and down
    • create/rename/delete/list area’s
    • add area description
    • whitelist players for the area
    • tp to an area
    • show area’s info at current position

Flags

  • Set area flags ingame Flags: Any flag true will protect the area and the players in it. ie. edit: true (on) means no breaking/building by players. shoot: true (on) means no shooting by players.

    • edit: the area is save from building/breaking
    • hurt: players in the area are save (previous god flag)
    • pvp: players in the area are save from PVP
    • flight: players in the area are not allowed to fly
    • touch: area is save from player interaction with doors/chests/signs etc.
    • animals: no animal spawning (including spawners & eggs)
    • mobs: no mobs spawning (including spawners & eggs)
    • effect: player can not keep using effects in the area
    • msg: do not display area enter/leave messages
    • pass: no passage for non-whitelisted players! (previously barrier flag)
    • drop: players can not drop things
    • tnt: explosions protected area
    • fire: fire protected area (including spreading & lava)
    • explode: explosions protected area
    • shoot: player can not shoot (bow)
    • perms: player permissions are used to determine area command execution
    • hunger: player does not exhaust / hunger
    • fall: player will not have fall damage
    • cmd: area event commands are only executed for ops (test area commands)

Events & Commands

  • Add commands to area events

    • assign commands to area events
    • enter, center or leave.
    • variable player in commands with {player} or @p
    • add/edit/delete area event command
    • list area commands (ordered by event)
    • change event of area commands

Level flags

  • Use the level flags for level protection

    • per level the levelcontrol toggle option enables the level flag protection

Menu (UI)

Festival Menu

Festival main menu

Start menu select management option

Teleport

Select teleport destination

Select teleport destination

Areas

Area management option menu

Area option menu

Select area to manage

Select area

Manage area settings

Edit area settings

Manage area flags

Edit area flags

Manage area commands

Manage commands for area events

Add command

Edit or add commands to area

using the @p reference in the command to target the player (/heal command is an example, comes from another plugin)

Del or change command (by id)

Edit or add commands to area

Delete: Leave command empty and input 'delete cmd id' to delete id linked command. Change: Set event type, enter command and input 'edit cmd id' to change that id linked command

Manage area Whitelist

Manage area whitelist

Set players on or off area whitelist (this is in development)

Select area to delete

Delete area

Confirm to delete area

Cofirm area delete

Create

Select new area type

Select new area type Hold the magic item - 201 purpur block by defaults, set in configs Tab positions with the magic block, meanwhile use other blocks to build in between.

Set area positions

Cube Diagonal
1. Place or break the first diagonal position for new cube area
2. Place or break position 2 to set the longest diagonal in the new cube area
Sphere Radius
1. Place or break the center position for the new sphere area
2. Place or break position 2 to set the radius for new sphere area
Sphere Diameter
1. Place or break the first diameter position for the new sphere area
2. Place or break position 2 to set the diameter for new sphere area

Create area with Name (and description)

Create area with name and description

Levels

Turn on level flag control to use the level flags (instead of defaults) festival-use-level-flags

Select level to manage flags (if levelcontrol config is on)

Select level

Manage level flags options

Manage Level use option and flags Edit level flags(defaults)

Configuration

UI configuration to set overall options and default flags for levels and area's festival-set-configs-default-flags

Manage Festival configuration options and set default flags

Manage configuration

Copyright Genboy 2018 - 2019 - markdown edited with [stackedit.io]

Usage

  • Edit config.yml; set the defaults for options, default area flags and the default area flags for specific worlds.
  • using ingame Festival Menu (UI) for configurations
  • older versions (1.1.3) read wiki on configurations

Festival 2.1.0 Command usage

Setup

Install & Configure

  • Standard Plugin installation; Upload .phar file to server 'plugin' folder (or upload .zip if you have latest devtools installed), restart the server, go to folder plugins/Festival;

  • read wiki on configurations

Updates

Updates available at poggit and github

!Before update always copy your config.yml and areas.json files to a save place, with this you can revert your Festival installation. Keep your old files (befor v2.0.0) for new install.
  • first remove Festival folder (keep the areas.json and config.yml)
  • after .phar install and first restart/reload plugins; check console info
  • replace the new(empty) areas.json with your original (old) areas.json
  • put your original config.yml in the Festival (or /resource) folder and remove the config.json file;
  • restart server after adjusted correctly
Copyright Genboy 2018

Festival Manager menu

Open th Festival menu

/fe ui
/fe menu

or get hold of the magic item in the inventory

Language

/fe lang <en/nl/es/pl>

Set Festival language en/nl/es/pl for area and command returned messages. en = English nl = Nederlands es = Espanol pl = Polski __ = your language, please help translate

Create area (cmd)

### Cube area

First command  '/fe pos' or '/fe pos1' 
and holding the magic block, default 201, tab or break a block for position 1 

then command '/fe pos2' 
and and holding the magic block tab or break a block to set position2, 

these are the endpoints of the area longest diagonal.

/fe pos1(pos)
/fe pos2

Sphere area

First command '/fe pos' or '/fe pos1'

For sphere radius;
holding the magic block tab or break a block for the center of the sphere  
then command '/fe rad' or '/fe radius'
and and holding the magic block tab or break a block to set the radius size.

For sphere diameter;
holding the magic block tab or break a block for first end of the diameter
then command '/fe dia' or '/fe diameter'
and and holding the magic block tab or break a block for the other end of the diameter.

/fe pos
/fe rad / dia

After position selections

Then name/save the selected area

/fe create <AREANAME>  

Now the area is ready to use

You might want to set or edit the area description line

/fe desc <AREANAME> <description>

Set area flags

fast toggle for flags: (since Festival v1.0.1-11)

  /fe <edit/hurt/pvp/flight/touch/mobs/animals/effect/tnt/fire/explode/shoot/drop/msg/pass/hunger/perms/fall/cmd> <AREANAME>

Area flag defaults are set in the config.yml, server defaults and world specific default flag. 

  /fe flag <AREANAME> list

Delete an area

  /fe delete(del,remove) <AREANAME>   

List all area's

See all area info, optional per level

  /fe list (<LEVELNAME>)

Floating titles

Floating titles are set in the configs (menu or config.json / yml)
Toggles the titles on/off

/fe titles

Teleport to area

Teleporting to area center top, drop with no falldamage (if falldamage flag true)

/fe tp <AREANAME>

Toggle level area's floating title display

Area floating title display (default set in config.yml)

/fe titles

Set description

/fe desc <AREANAME> <DESCRIPTION>

Manage whitelist

/fe whitelist <AREANAME> <add/list/remove(del,delete)> <PLAYERNAME>

Set compass

/fe compass <AREANAME/(reset/spawn)>

Area event commands

**This is the fun part of Festival: assign commands to area events**

When an area is created 3 events are available;
  - enter; when a player enters the area
  - center; when a player reaches the center (3x3xareaHeight blocks)
  - leave; when a player leaves the area


To add a command you need at least;
  - an areaname, 
  - an unique id for the command 
  - make sure the command works! (when you are op)
  
  
/fe command <AREANAME> <add/list/edit/event*/del> <COMMANDID> <COMMANDSTRING/enter*/leave*/center*> 
Add a command:
/fe command <AREANAME> add <COMMANDID> <COMMANDSTRING>

  'add' is the default for attaching a command on the 'enter' event. 
  Using 'enter', 'center' or 'leave' instead of 'add' attaches the new command to 
  the given eventtype: i.e. /fe command <areaname> center <commandid> <commandstring>
List area commands:
/fe command <AREANAME> list
Edit command:
/fe command <AREANAME> edit <COMMANDID> <COMMANDSTRING>
Change command event:
/fe command <AREANAME> event <COMMANDID> <enter/center/leave>
Remove command:
/fe command <AREANAME> del <COMMANDID>

Updates

Updates available at poggit and github

!Before update always copy your config.yml and areas.json files to a save place, with this you can revert your Festival installation
  • after .phar install and first restart/reload plugins; check console info and your areas.json and config.yml; restart after adjusted correctly

  • ! Update Festival 2 in development translating resource config.yml or your mainfolder config.yml and areas.json on install

Credits

The area code derives from the iProctector plugin. All credits for the area creation and protection code go to the iProtector creator LDX-MCPE and other iProtector devs.

The Festival code is written and tested by Genboy and first released on 12 Feb 2018, first extending the area object with area events (enter and leave messages) and soon added functions and ingame commands to attach a commandstring to a area-event. Since v1.0.7 the area's and players can be protected with 12 flags, and trigger commands on areaEnter, areaCenter and areaLeave.

Legal Notice

-- Legal notice --

For Festival the General Public License agreement version 3, as in the LICENSE file is still included and operative.

To protect this software since 27 April 2019 the Festival software package is copyrighted by Genboy. You are legally bind to read the Festival Copyright statement.

In short this change of Copyright statement does not change the usage levels as stated in the GPU, for a part it now prohibits any entities to sell the software without the knowledge of the owner.

-- end legal notice --

Copyright Genboy 2018 - 2019

markdown edited with stackedit.io and
translated to html with browserling.com

История версий
  • 2.1.1
  • 2.1.0
  • 2.0.0
  • 1.1.3
  • 1.1.1
  • 1.1.0
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • 1.0.4-11
  • 1.0.2-11
  • 1.0.0-11
Отзывы пользователей
DonSpiderLord
starstarstarstarstar
v 2.1.0 14 Nov 19
Amazing Plugin! Is there a way to make it that players can buy areas and then sell them? Like if they buy the area then they can build in it.
CrafterLTU
starstarstarstar_borderstar_border
v 2.1.0 22 Oct 19
hmm, there are a few fetures that just cause internal server errors, like for example,one of them is, i enable ''shoot'' and when i deop myself and shoot with the bow, it causes an internal server error. What could be causing this?
Verox001
starstarstarstarstar_border
v 2.0.0 17 Aug 19
Hello. This Plugin is great, but i give this Plugin 4 stars, because in all of my worlds is pvp and build deactivate. Please fix this and make a video for the Plugin and I give 5 stars.
AL3XPI
starstarstarstarstar
v 2.0.0 01 Aug 19
Great plugin, but still has some kinks to work out. Genboy is very good at handling issues with this plugin. I love this plugin and it is the best plugin for managing your server's areas.
BootheBoys
starstarstarstarstar
v 2.0.0 31 Jul 19
Great responses when people are in need of help- great plugin too! 5/5!
MYTHICALMAN
starstarstarstarstar
v 2.0.0 31 Jul 19
great plugin but i used and its controlled entire server?
Ahoy2533
starstarstarstarstar
v 1.1.3 11 Jun 19
Multifunction plugin!!
Obamavn99
starstarstarstarstar
v 1.1.1 27 Jun 19
Nice plugin! But i don't know how to protect the whole world to create my prison server
mikeygio10
starstarstarstar_borderstar_border
v 1.1.1 24 Mar 19
I love it but make it so you can just keep flying at default or not because /fly does not do anything i want it so you can only fly if you do /fly
SchdowNVIDIA
starstarstarstar_borderstar_border
v 1.1.1 23 Mar 19
It's okay but not the best. You need to decide if you enable fly or disable it in a world so /fly is useless...
Bruth78
starstarstarstarstar
v 1.0.9 10 Mar 19
It’s a great protecting plugin and the Dev is VERY active on GitHub and helps you if you have a problem instantly.
Thank you @genboy!
AndreasHGK
starstarstarstarstar_border
v 1.0.8 27 Dec 18
This plugin is very nice to have in your server to protect areas. It has a lot of handy flags. It's not perfect though, as the flight flag can be annoying. It would be nice if there was an option to prevent the plugin from managing flight.
DeveloperNeb101
starstar_borderstar_borderstar_borderstar_border
v 1.0.7 04 Nov 18
Sorry, I had really high hops for this, but if I set 1 area it disables building and pvp in other worlds, pluse in one area I tried enabling and disabling pvp and it still never worked. Pluse it keeps fly always on even if you disabled it
blurpng
starstarstarstar_borderstar_border
v 1.0.7 08 Sep 18
confusing, for some reason normal user still can break blocks in the area with edit true or false, flight is also possible with either true or false
maybe a readme rewrite to know what does true/false do & what world,global means in the config
HaraldH2k02
starstarstarstarstar
v 1.0.7 26 Aug 18
Пустой комментарий.
Fishingehd
starstarstarstarstar
v 1.0.4-11 11 Jun 18
Great Plugin really helps with building protection
TediTheWarrior
starstarstarstarstar
v 1.0.4-11 30 Apr 18
Awesome plugin
kevinishawesome
starstarstarstarstar
v 1.0.4-11 30 Apr 18
A promising update! Keep it up
EndreEndi
starstarstarstarstar
v 1.0.4-11 01 Apr 18
It is great can be improved i like IT!!!
NeonBlueSoul
starstarstarstarstar
v 1.0.2-11 13 Mar 18
I've been trying to set a place to be minable at spawn, I have a feeling its spawn protection causing this. Any tips? Should i turn off spawn protection? Im having a hard time making a prison server... :/
SivannOnline
starstarstarstarstar
v 1.0.2-11 12 Mar 18
Why doesn't work?
urParadox
starstarstarstarstar
v 1.0.1-11 22 Feb 18
Any way To not say stuff when ppl enter/leave?
SaigatamaAiNA
starstarstarstarstar
v 1.0.0-11 23 Feb 18
Пустой комментарий.
CraftyDex
starstarstarstarstar_border
v 1.0.0-11 22 Feb 18
Great Job!
louise76
starstarstarstarstar
v 1.0.0-11 19 Feb 18
this is simple and a good idea. can see use for this. thank you.
SOF3
starstarstarstarstar_border
v 1.0.0-11 14 Feb 18
Nice idea