nimajnb Posted March 2, 2020 Share Posted March 2, 2020 This skript event stopped working as of yesterday of this post. It worked fine before, but now it suddenly doesn't detect anymore. region enter: Link to comment Share on other sites More sharing options...
Spiderlogical Posted March 5, 2020 Share Posted March 5, 2020 Moved to Skript Discussion Link to comment Share on other sites More sharing options...
Ofus Posted May 25, 2020 Share Posted May 25, 2020 You're not giving nearly enough information about your issue, "not detecting" could mean it's not detecting the syntax or the syntax is valid but it's not detecting you entering the region. In the case of the latter, that'd be your case.A few things to note within the on region enter event, region at player != event-region. Region at player will grab the region of the player before they enter the region. event-region, obviously, returns the region that the player is about to enter (or already has entered depending on how you want to view it) worldguard syntaxes do not work with skript if you are running fastasyncworldedit with worldguard, you must run worldedit and worldguard if you want these syntaxes to be recognised by skript you can not directly compare regions with text, you must parse the region as a string/text first (see below) regions, even after parsing them as strings, are formatted in the form "<region> in world <world>". Because of this, we use contains instead of a direct comparison (see below again) A valid example of the on region enter event: on region enter: if "%event-region%" contains "<insert your region name here>": cancel event send "&cYou can not enter here!" to player Hope this helps, Ofus. Link to comment Share on other sites More sharing options...
KJPAKA Posted May 25, 2020 Share Posted May 25, 2020 @Ofus, this helped me by just looking. Ive always wondered why worldguard was not working in skript. Its because i have fastasyncworldedit good to know! Thanks friend! Active Minehut Player since 2016 Advanced at Skript - Know a lot about running a server If you need help with anything contact me @ KJPAKA#0001 Link to comment Share on other sites More sharing options...
Ofus Posted May 26, 2020 Share Posted May 26, 2020 Always glad to help Link to comment Share on other sites More sharing options...
GwiazdaF Posted January 16 Share Posted January 16 still works! thanks Link to comment Share on other sites More sharing options...
SolarStephen Posted January 17 Share Posted January 17 Topic locked due to Necroposting. Discord - Stephen090704 In-Game Name - SolarStephen --------------------------------------------------------- Tester - 2021/2022 Moderator - 28/05/2023 - 25/07/2024 Retired - Current --------------------------------------------------------- Report player/server: Report here. Create a support ticket: Submit a request. Link to comment Share on other sites More sharing options...
Recommended Posts