{"id":449,"date":"2018-02-21T10:24:09","date_gmt":"2018-02-21T09:24:09","guid":{"rendered":"https:\/\/genboy.net\/minecraft\/?p=449"},"modified":"2018-03-15T16:51:05","modified_gmt":"2018-03-15T15:51:05","slug":"custom-area-events-with-the-festival-plugin-for-pocketmine-servers","status":"publish","type":"post","link":"https:\/\/genboy.net\/minecraft\/custom-area-events-with-the-festival-plugin-for-pocketmine-servers\/","title":{"rendered":"Custom area events with the Festival plugin for Pocketmine"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; transparent_background=&#8221;on&#8221; custom_padding=&#8221;20px||0px|&#8221; admin_label=&#8221;section&#8221;][et_pb_row custom_padding=&#8221;0px|0px|28px|0px&#8221; admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;4_4&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221;]<\/p>\n<p style=\"text-align: center;\">This functionality was what I missed so I made this<\/p>\n<h2 style=\"text-align: center;\">Festival<\/h2>\n<p style=\"text-align: center;\">plugin originating from the iProtector area code.<\/p>\n<p style=\"text-align: center;\">Below a short introduction, <a href=\"https:\/\/genboy.net\/minecraft\/festival\">more info at the Festival page<\/a><\/p>\n<p style=\"text-align: center;\">Festival provides ingame commands for Pocketmine-PM servers to create area&#8217;s, set protective flags AND attach commands to area events! The commands are attachted to the eventtypes of the area and executed (as op!) when a player triggers an event. All controlled ingame with a pretty simple command structure.<\/p>\n<h3 style=\"text-align: center;\">Features?<\/h3>\n<p style=\"text-align: center;\">Festival current release includes 3 basic(static) area events to get started: enter, leave and center. Each event holds an array of commands to be executed. The players position (and suited permission) triggers the events in the area. Commands triggered by area events are executed with OP permission. Standard area welcome message including a custom description line and standard leave message, displayed at the outer borders and in the center area. Toggle the flag &#8216;msg&#8217; for the area to turn messages off for players. Control the area whitelist Define Festival default flags in the config.yml and control flags ingame for each area. The flags: edit, god, touch, msg and barrier. These provide exclusive area protection.<\/p>\n<p style=\"text-align: center;\">More info? <a href=\"#how\">Scroll a bit more<\/a>, <a href=\"https:\/\/genboy.net\/minecraft\/festival\">go to the Festival page<\/a> or head over to <a href=\"https:\/\/poggit.pmmp.io\/p\/Festival\/1.0.1-11\" target=\"_blank\" rel=\"noopener\">the Festival Poggit page<\/a><\/p>\n<h3 style=\"text-align: center;\">Download?<\/h3>\n<p style=\"text-align: center;\">Packages and latest builds at <a href=\"https:\/\/poggit.pmmp.io\/ci\/genboy\/Festival\/Festival\" target=\"_blank\" rel=\"noopener\">Poggit<\/a> and <a href=\"https:\/\/github.com\/genboy\/Festival\/releases\" target=\"_blank\" rel=\"noopener\">Github<\/a><\/p>\n<p style=\"text-align: center;\">Refinements in progress @ <a href=\"https:\/\/github.com\/genboy\/Festival\" target=\"_blank\" rel=\"noopener\">github.com\/genboy\/Festival<\/a><\/p>\n<p style=\"text-align: center;\">Festival is publiced under <a href=\"https:\/\/choosealicense.com\/licenses\/lgpl-3.0\/\" target=\"_blank\" rel=\"noopener\">lgpl-3.0<\/a> license<\/p>\n<p style=\"text-align: center;\" class=\"\">Support: If you use and like the plugin please consider a <a href=\"https:\/\/paypal.me\/genboy\">small donation<\/a> to keep Festival up to date.<\/p>\n<h3 style=\"text-align: center;\">Credits!<\/h3>\n<p style=\"text-align: center;\">The area code derives from the <a href=\"https:\/\/github.com\/LDX-MCPE\/iProtector\">iProctector plugin<\/a>. All credits for the basics of area creation and protective flags go to the iProtector creator <a href=\"https:\/\/github.com\/LDX-MCPE\">LDX-MCPE<\/a> and the <a href=\"https:\/\/github.com\/LDX-MCPE\/iProtector\/network\">other iProtector devs<\/a>.<\/p>\n<p style=\"text-align: center;\">In a first fork from <a href=\"https:\/\/github.com\/poggit-orphanage\/iProtector\">poggit-orphanage<\/a> the code extended the area with player events triggering enter and leave messages and adding options to attach separate event-objects to an area and trigger specific events with commands. These test versions kept the core iProtector areas unchanged to be able to use excisting area&#8217;s and thinking maybe some day to make an attribution to the iProtecor project. These first adjustments worked well being a test plugin but keeping iProtector area&#8217;s while adding separate event data made me create a split command structure (wich isn&#8217;t logical or handy) and separate event objects are only needed if the original area class should stay the same. So, for a better plugin command structure and performance the basics of the iProtector Area code was used to create the setup for what now has become the Festival Plugin.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This functionality was what I missed so I made this Festival plugin originating from the iProtector area code. Below a short introduction, more info at the Festival page Festival provides ingame commands for Pocketmine-PM servers to create area&#8217;s, set protective flags AND attach commands to area events! The commands are attachted to the eventtypes of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":530,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<p style=\"text-align: center;\">This functionality was what I missed so I made this<\/p>\r\n\r\n<h2 style=\"text-align: center;\">Festival<\/h2>\r\n<p style=\"text-align: center;\">plugin originating from the iProtector area code.<\/p>\r\n<p style=\"text-align: center;\">Festival provides ingame commands for Pocketmine-PM servers to create area's, set protective flags\r\nAND attach commands to area events!\r\nThe cmds are attachted to the eventtypes of the Festival area and executed (as op!) when a player triggers an event.\r\nAll controlled ingame with a pretty simple command structure.<\/p>\r\n\r\n<h4 style=\"text-align: center;\">Features?<\/h4>\r\n<p style=\"text-align: center;\">Festival current release includes 3 basic(static) area events to get started: enter, leave and center.\r\nEach event holds an array of commands to be executed.\r\nThe players position (and suited permission) triggers the events in the area.\r\nCommands triggered by area events are executed with OP permission.<\/p>\r\n<p style=\"text-align: center;\">Standard area welcome message including a custom description line and standard leave message,\r\ndisplayed at the outer borders and in the center area.\r\nToggle the flag 'msg' for the area to turn messages off for players.<\/p>\r\n<p style=\"text-align: center;\">Control the area whitelist<\/p>\r\n<p style=\"text-align: center;\">Define Festival default flags in the config.yml and control flags ingame for each area.\r\nThe flags: edit, god, touch, msg and barrier. These provide exclusive area protection.<\/p>\r\n<p style=\"text-align: center;\">+ infographic<\/p>\r\n<img class=\"wp-image-519\" style=\"max-width: 1280px;\" src=\"https:\/\/genboy.net\/minecraft\/wp-content\/uploads\/2018\/02\/festival_usage_1.0.2-11.png\" alt=\"\" width=\"100%\" height=\"auto\" \/>\r\n<h4 style=\"text-align: center;\">More info?<\/h4>\r\n<p style=\"text-align: center;\"><a href=\"#how\">Scroll a bit more<\/a> or head over to <a href=\"https:\/\/poggit.pmmp.io\/p\/Festival\/1.0.1-11\" target=\"_blank\" rel=\"noopener\">the Festival Poggit page<\/a><\/p>\r\n\r\n<h4 style=\"text-align: center;\">Download?<\/h4>\r\n<p style=\"text-align: center;\">Packages and latest builds at <a href=\"https:\/\/poggit.pmmp.io\/ci\/genboy\/Festival\/Festival\" target=\"_blank\" rel=\"noopener\">Poggit<\/a> and <a href=\"https:\/\/github.com\/genboy\/Festival\/releases\" target=\"_blank\" rel=\"noopener\">Github<\/a><\/p>\r\n<p style=\"text-align: center;\"><a href=\"https:\/\/poggit.pmmp.io\/p\/Festival\"><img src=\"https:\/\/poggit.pmmp.io\/shield.state\/Festival\" \/><\/a>\r\n<a href=\"https:\/\/poggit.pmmp.io\/p\/Festival\"><img src=\"https:\/\/poggit.pmmp.io\/shield.api\/Festival\" \/>\r\n<\/a><strong>Refinements in progress @ <a href=\"https:\/\/github.com\/genboy\/Festival\" target=\"_blank\" rel=\"noopener\">github.com\/genboy\/Festival<\/a>\r\n<\/strong>Festival is publiced under<strong> <a href=\"https:\/\/choosealicense.com\/licenses\/lgpl-3.0\/\" target=\"_blank\" rel=\"noopener\">lgpl-3.0<\/a> <\/strong>license<\/p>\r\n\u00a0\r\n\r\n\u00a0\r\n<h4 id=\"how\" style=\"text-align: center;\">How?<\/h4>\r\n<p style=\"text-align: center;\">The area code derives from the <a href=\"https:\/\/github.com\/LDX-MCPE\/iProtector\">iProctector plugin.<\/a>\r\nAll credits for the basics of area creation and flags go to the iProtector creator <a href=\"https:\/\/github.com\/LDX-MCPE\">LDX-MCPE<\/a> and the <a href=\"https:\/\/github.com\/LDX-MCPE\/iProtector\/network\">other iProtector devs<\/a>.<\/p>\r\n<p style=\"text-align: center;\">In a first fork from <a href=\"https:\/\/github.com\/poggit-orphanage\/iProtector\">poggit-orphanage<\/a> the code extended the area with player events triggering enter and leave messages and adding options to attach separate event-objects to an area and trigger specific events with commands. These test versions kept the core iProtector areas unchanged to be able to use excisting area's and thinking maybe some day to make an attribution to the iProtecor project. These first adjustments worked well being a test plugin but keeping iProtector area's while adding separate event data made me create a split command structure (wich isn't logical or handy) and separate event objects are only needed if the original area class should stay the same. So, for a better plugin command structure and performance the basics of the iProtector Area code was used to create the setup for what now has become the Festival Plugin.<\/p>\r\n\u00a0","_et_gb_content_width":"","footnotes":""},"categories":[9,27,13,22,17],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-blog","category-festival-pmmp-plugin","category-minecraft","category-pocketmine-plugins","category-pocketmine-pmmp"],"_links":{"self":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":39,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":581,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/449\/revisions\/581"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/media\/530"}],"wp:attachment":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}