Thank you. I got it working . I had to re run the batch file. The areas areally working good. I had another administration create an area and I couldn't break blocks but still could take from his chests
Example script: AreaProtection
-
- English / German
- KingGenius
-
-
We fixed a small bug in the AreaProtection script! The new version is uploaded. It was just a small issue, so you can also change it directly in your script: There were two debug prints in the onChestItemDrop event (in playerListener.lua) which caused the game to crash, simply remove it.
About the chests: Unfortunately the protection does only work for newly placed chests. Sorry, we should have mentioned it^^
-
how do you protect a chest in the area. I can still take from others chests. the chest is in the area. I did not place the inventory. I would like to be able for users to protect their inventory.
-
So I think that he is saying that you have to place the chest in the protected area after the protection is setup. Any pre-existing chests are not protected.
-
Thank you. You guys are doing awesome work and thank you for it and all the info you have given.
-
How to make admin?
-
The admins line in your server.properties file. Separate names with a semicolon like so:
admins=mradmin;mrsadmin;adminjr
The admin would be the player name of the player to be admin.
-
Here's a suggestion:
Normal users should be able to create areas as well. When they create an area, they will be moved to the Admin group in that area. It should be possible to define a max size of an area (and maybe a max number of areas?) a default user can create.
-
I was working on that. Yeah you can define a max size, and also create functionality to allow players to be admin for their own area, and invite others and assign them roles. None of that functionality exists, but it is 100% possible via scripts. I got side-tracked with creating a server manager/lua script patcher.
-
Is there a way to ban a player from your area? So they can not even add themselves in? I do know about the removed part but that only works for so long...
-
They shouldn't be able to add themselves to an area unless they are admins.
-
Ok.
-
Hi guys, when the new script comes for Protection Area.
that has been mentioned in the last game updater? -
The new version 1.6 is available. It contains two new commands, /cleanuparea (either provide an area name, or simply stand inside the desired area), which removes all objects, constructions, vegetations and blocks inside a particular area (useful when you want to delete the stuff from inactive players for example) and /fillarea (parameters: Areaname and TerrainID [e.g. /fillarea myArea 0]), which fills an area with a terrainid (0 for air, 1 for dirt, 2 for grass, 3 for stone).
This serves as a small example for the new LuaWorld functions -
Hi, ive been trying to add the area protection script to my server. Do i need to put in all the files/scripts or just some. Plus when i put all them in the server crashes.
Any help here would be awesome.
-
Just download the "areaProtectionScriptv16.zip", then extract the "AreaProtection" folder from the zip into your "scripts" folder of your server. That's it
-
it wont let me extract the folder but only the scripts one at a time, then the server crashes
-
Hey Thx ....very nice....
lg -
Ok, so this is what happens
1- Stop server.
2- I goto scripts and make "myscripts" as I like to keep my scripts in different file so i can see them and find them plus my other scripts work this way.
3- I then add a file and I find AreaProtection were I put it after I downloaded and extracted it.
4- I click on AreaProtection it then goes to groups, I click on that and it has /admin/guest/owner. It lets me add these files and I can add the files that are in listener and the files that sit below that.
5- I upload the files and then restart the server.
6- The server crashes.Then I found out that at the point off adding a file I can drag over the AreaProtection file. I do this and hit upload then it comes up with error!:true and I cant go any further than delete it.
Now I have been able to put the Zcript for admin tools and the edit world script. But I am having so much trouble with this one -
I GOT IT!! HAD TO USE FILEZILLA BUT I GOT IT THX ANYWAY GUYS !!
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!