Portal v1 (r842) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: Portal v1 (r842) (/thread-558.html) |
Portal v1 (r842) - Taugeshtu - 09-08-2012 How to use:
Features: Horrible portal creation process, but nice-and-easy portals usage; Fail-safe (or should be, at least...) - it will log in case you'll disable/delete world with portals in it; Readable data storage (data's saved in *.dat files). ToDo: WebAdmin features, like web warp creation, based on current players coords, warps and enters deletion (currently it's only possible through .dat modification ), warps and enters renaming. That's it. RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 I'm sorry, this version is buggy, I'm fixing it now Fixed! Tested: - Correct region selection and region check; - Cross-world portals; - Dual portals (one have exit where another have entrance and vice-versa); - In-world portals. Unfortunately, I can't make /Plugins/Portal/ path work( If anyone happened to know how to fix that - I'll be glad to know. RE: Portal v1 (r842) - FakeTruth - 09-08-2012 (09-08-2012, 02:29 AM)Taugeshtu Wrote: Unfortunately, I can't make /Plugins/Portal/ path work( If anyone happened to know how to fix that - I'll be glad to know. What do you mean? Is this webadmin related? RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 Quote:What do you mean? Is this webadmin related?No, I can't access file through lua's "io" class if I put it inside plugin's folder. It only works for MCS root folder, for some reason (I get "can't access global file" error, or something like that) I use two files for data storage: portals_portals.dat and portals_players.dat (this one only saves admin's wooden sword mode) Haven't touched web part yet. This will be in v2. RE: Portal v1 (r842) - FakeTruth - 09-08-2012 I should create a function to get the plugin's folder address anyway, I think plugin settings should be stored in their own folders instead of the root that should keep things a lot cleaner RE: Portal v1 (r842) - xoft - 09-08-2012 Can't you use a regular ini file instead? So that it is user-editable, if the need arises. RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 Quote:Can't you use a regular ini file instead? So that it is user-editable, if the need arises.Files are user-editable already. I could add more love to them, but there isn't really much pain in understanding their structure once you had a look at plugin's code (and it's really easy) : Code: ToKastor~Kastor~8.8987965919576~105~1.8690593470373 Quote:I should create a function to get the plugin's folder address anywayThat would be nice We'll see if it works... RE: Portal v1 (r842) - NiLSPACE - 09-08-2012 if i use /penter (name) the server says unknown command and when i only use /penter it says you should specify the name in one word. and then it says again Unknown Command :O RE: Portal v1 (r842) - Taugeshtu - 09-08-2012 Quote:the server says unknown commandThat's normal Does it also say that enter "name" was created (and linked, in case you've already created a warp with such a name)? RE: Portal v1 (r842) - NiLSPACE - 09-08-2012 ... i forgot to create an area with the wooden sword :S can you also add that it transports dropped items and mobs through the portal? just like in minecraft snapshot 12w34a? |