I always read the confign into an array in the init so it's faster.
And database files aren't nice to edit in a texteditor if you would use it as config file.
But if you want to use databases, freel free
when my data was saved in a config, it lags the server crazily.
But i noticed with SQLite, there is lesser lag.
I will only use SQLite with those plugins that required the server to store lots and lots and lots of data like my PVP Ranking System plugin
I mean config file for settings for your plugin,
for big data storage it will slow down a lot without storing it in an array.
sqlite is nice for a lot of data,
but I still suggest using a array, and store it using json
I will just go along with SQLite and config for now since it works
Junyi these plugins are amazing!! I have one problem with warps. I set a warp but then my friend joins, tries to warp and when he trays to type / warp (his ign ) (warp name) it won't do anything. I set this warp. Please help. Thanks, and keep up the good work!
Junyi these plugins are amazing!! I have one problem with warps. I set a warp but then my friend joins, tries to warp and when he trays to type / warp (his ign ) (warp name) it won't do anything. I set this warp. Please help. Thanks, and keep up the good work!
What problem does it say when he tries to do it. You arent supposed to write / just "warp (ign) (warp name) im pretty sure. Also check if your an OP or not, I havent tried the plugin, but that could also be why?
Try letting him set one as well then do it.
Something you might want to mention in the description of Auto Broadcast, is that unless you have a message set up, It will disable commands on your server after about 5 seconds
Rollback Post to RevisionRollBack
Hi! I am Glitchmaster_PE! I do MCPE and no other Minecraft I currently make PocketMine plugins and am planning on expanding to ModPE Scripts soon! I am a moderator on MinePocket servers! I have a Twitter with 750+ followers!
Hey Junyi00 I was bored so i also went ahead and fixed the bugs in the autobroadcast plugin!
again like the freeze time fix , tell me if you want me to send you the files to update on your main page and all that jazz i know this one is one you were planning on redoing with SQlite after you have learnt about it but some people really wanted this so if you give me the all clear ill send both the files onto you great plugins btw i love them , cant wait for more!!!
CHANGELOG
-(Crashed / froze the server error)The server couldnt use commands after a few second of loading
the server with the plugin and this caused users to disconnect and also meant
there were no messages automatically broadcasted.- this is now fixed
- Change the text "You have no permission" to "You need to run this command ingame as an op player."
to help people understand what they need to do rather than just telling them they don't
have permission - this was just a little change i personally wanted so i kept it and i think its better for the people who dont understand about permissions
Currently testing a few things:
Testing the code with 5 minute gaps between messages - worked
Testing the code with 10 minute gaps between each message - Worked
Testing to see if the code manages to detect no more messages can be added - Didn't work - crashed the server ( might try fixing this later - don't see the point in this when using the config file is much easier)
Testing removing messages using in-game commands - Didn't work (This is the same with the one above - might as well use the config file)
This file with the fix in will only be posted if junyi00 wants it. All credit goes to him for creating these plugins i just fixed a couple bugs and changed some wording in the code.
can you PM me that fixed auto broadcast plugin. Also, I did not understand the config file but how would I set uo the config file if I had two messages that I wanted to broadcast interchangeably every five minutes
Rollback Post to RevisionRollBack
Hi! I am Glitchmaster_PE! I do MCPE and no other Minecraft I currently make PocketMine plugins and am planning on expanding to ModPE Scripts soon! I am a moderator on MinePocket servers! I have a Twitter with 750+ followers!
Sure ill pm you tomorrow cause I'm just about to go to sleep and my pc is off sorry and with the config file you just have to add your two messages in to any of the numbers from 1-10 or the easier way is whilst ingame make you player op and type /addmgs [Message one here ]
Then use it again for the second message you wanted like /addmgs [Message two here ] then finally make sure in the config file your interval time is set to 5. Hope this helped but if not dont worry I'll write a better explanation when I pm you
Thanks It was very helpful!!!!!!!
Rollback Post to RevisionRollBack
Hi! I am Glitchmaster_PE! I do MCPE and no other Minecraft I currently make PocketMine plugins and am planning on expanding to ModPE Scripts soon! I am a moderator on MinePocket servers! I have a Twitter with 750+ followers!
Hey Junyi00 I was bored so i also went ahead and fixed the bugs in the autobroadcast plugin!
again like the freeze time fix , tell me if you want me to send you the files to update on your main page and all that jazz i know this one is one you were planning on redoing with SQlite after you have learnt about it but some people really wanted this so if you give me the all clear ill send both the files onto you great plugins btw i love them , cant wait for more!!!
CHANGELOG
-(Crashed / froze the server error)The server couldnt use commands after a few second of loading
the server with the plugin and this caused users to disconnect and also meant
there were no messages automatically broadcasted.- this is now fixed
- Change the text "You have no permission" to "You need to run this command ingame as an op player."
to help people understand what they need to do rather than just telling them they don't
have permission - this was just a little change i personally wanted so i kept it and i think its better for the people who dont understand about permissions
Currently testing a few things:
Testing the code with 5 minute gaps between messages - worked
Testing the code with 10 minute gaps between each message - Worked
Testing to see if the code manages to detect no more messages can be added - Didn't work - crashed the server ( might try fixing this later - don't see the point in this when using the config file is much easier)
Testing removing messages using in-game commands - Didn't work (This is the same with the one above - might as well use the config file)
This file with the fix in will only be posted if junyi00 wants it. All credit goes to him for creating these plugins i just fixed a couple bugs and changed some wording in the code.
OMG Junyi00 please upload these fixes I really wanna use htis plugin but I can't because of the first bug under 'CHANGELOG'
Fixed:
Problem where players could kill themselves in jail and spawn in normal world
Updated to support new version
Notes:
There could be small bugsm but they would not affect the gameplay at all! I will fix it when i'm gonna need to update it again
I would probably need someone to help me since i cannot do the part which protects a certain area
Maybe i would go and learn from other plugins!
I am now trying to use SQLite with my PVP Ranking Plugin
This is the list of plugins that would be updated with it:
1)PVP Ranking Systems
2)Prison
3)Auto Broadcast
Compared to using the config file, SQLite is much better.
Wouldn't lag the server, or maybe just lessen it
On small plugins, config would definitely be better, but still my PVP Ranking System requires it, the prisoned too.
when my data was saved in a config, it lags the server crazily.
But i noticed with SQLite, there is lesser lag.
I will only use SQLite with those plugins that required the server to store lots and lots and lots of data like my PVP Ranking System plugin
I will just go along with SQLite and config for now since it works
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTry letting him set one as well then do it.
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
|| Rules or Bust! ||
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
It says it might corrupt my world. Will it really?
|| Rules or Bust! ||
can you PM me that fixed auto broadcast plugin. Also, I did not understand the config file but how would I set uo the config file if I had two messages that I wanted to broadcast interchangeably every five minutes
Thanks
I get that all the time and nothing has happened. I don't blame you for being cautious, though, 'cause I was too in this scenario at first!
---Separate Post---
OMG Junyi00 please upload these fixes I really wanna use htis plugin but I can't because of the first bug under 'CHANGELOG'
Sorry, i was always forgetful at changing the API version!!! :|
I will be changing Autopost Bot i believe, since it lags other people's server for some reason!
I will do it soon
I have been offline for a long time due to my examinations/tests, they are now over and i'm ready to start again!
Sure i do!
Thanks for fixing them, i originally planned to reply to u once i had looked more into it
Fixed:
Problem where players could kill themselves in jail and spawn in normal world
Updated to support new version
Notes:
There could be small bugsm but they would not affect the gameplay at all! I will fix it when i'm gonna need to update it again