i want a plugin that sync my group manager player's groups with my Mysql server! please note that group id's to be on plugin . like this : groups : 1 : 'guest' 2 : 'member' .... and one important note : i Don't want a plugin to sync group with forum , cms ... i need to sync it with a simple mysql table . its better to be sync on join or quit ideas for command : /gms reload /gms SyncAll mysql server columns : Username(ign) , group_id Group manager : Essentials group manager
jd1378 We need to know what permissions system you are using and if it has an API that we can access. If your using PEX there is a MYSQL backend that you can use to sync ranks on different servers.
Maybe, a small maybe. And try the tahg button instead of copying my profile link. jd1378 was bored, you are lucky. https://www.dropbox.com/s/ky4gmsajq3enjhy/MySQLGroupSynch.jar No reload command, will never be there. Also no syncall command, don't feel like adding that. Will try to sync on join. Edit the config before saying that it doesn't work. If you get errors: Full startup log or it didn't happen
timtower Hi . Thanks for making that for me ! but the bad news it doesn't work (when i connect to server my group does not change) here is the startup log and config ! http://www.hastebin.com/hivumiliri.vhdl and please plz plz make the group listing on plugin and read group ids from mysql , that way it will take less size . and im sry :
jd1378 Are you seriously worried about that couple bytes? If so: get rid of the database and do it by hand. Will keep using the names. Will try to find the bug when I have the time.
timtower its working perfectly without any errors ! Thank you So much ! Can you add a timed Sync ? and what does it do when i join the server ? does it only receive my players's group or the whole table data ?
Will give more lag as it needs to loop through the entire table, needs to retrieve the entire table. Code: SELECT * FROM table WHERE player = playername
hi timtower . i really like to see the source code , because i want to start programming . please show me if you already have it .
jd1378 Try a decompiler. And start with more basic plugin instead of Vault permission groups and mysql.