Sync
Sync provides a variety of methods for saving and loading data. This is easily accessed through the Sync API - tutorials can be found above on the Github wiki.
For a plugin to utilise these features the server must be running Sync.
Sync provides an easy interface for many operations:
- Auto Updating and downloads for your plugins.
- Advanced and easy to use SQL wrapper.
- Plugin statistic tracking.
- Web methods, download files and web page source.
- Runtime utilites (Memory information)
- Easy File IO. Save custom configurations, easily serialize and save Bukkit Locations, ItemStacks, Player Inventories and Blocks.
- Cryptography functions for secure password storage.
- Caching
Changelog: 1.0.1 - Added SyncWriter for raw access to writing and reading files. Fixed an update error.
@1Achmed1
It is alreade the newest version :/
Your versions don't match up.
Whoooooo, whats up? Error is still occuring on every shutdown
hi, i got an error for you ;)
I am using Sync version 1.0.3
@boozaa
No problem, I think i'm actually going to get back into bukkit.
Thanks for pointing those out the deprecated methods have been replaced, the new build is just waiting approval before it is published.
Thank you Adamk11s So far if i'm not wrong there are just 3 'scheduleAsyncRepeatingTask' call to change by 'scheduleSyncRepeatingTask' because the first is deprecated. Still working....
Hi all, for those of you who are asking for updates for the most part Sync should still work fine as most files do not depend on Bukkit and just use standard Java 6 code. It's more of an abstract layer to help you perform more complex tasks with less code.
However some code, for instance the serialization of inventories and such are, of course dependent on Bukkit.
As you may, or may not know I am not actively on Bukkit anymore but if you have any issues or see something in Sync that doesn't work or needs updating please let me know by sending a ticket or commenting, or send me a PM and i'll try to get it fixed :).
Like with others, I am requesting an update. I use a plugin that relies on Sync and it frequently has issues connecting to the mysql database.
can you do an uptade to 1.3.1 plz ?
I haven't tested this but would it be possible with this to save the serialized bukkit locations, itemstacks, inventories, and blocks to sql just like you do with the File IO?
I'm starting to work with Sync and i would say a big 'thank you' to the dev !
This is a great help.
Will this be updated for 1.3.1?
I can't get it to work and I think I am on the wrong way. So I wounder if somebody could do a small "code" on how it works and I will understand from that. Like make it easy /save = saves the players name into a txt file and /load = says true or false if it is in it. I have ben working on "saving data" for days now trying everything, I also tried SLAPI but it only makes a small sense. So if somebody could do that "code" save/load player name It would be GREAT!
I just made a nice little plugin with this that allows users to vote for my server while offline and get their stuff when they log in. Really easy to use API!
@GBCsubspec
The source is all there for you to browse https://github.com/Adamki11s/Sync
I wrote tutorials for every aspect, also found on the github page : https://github.com/Adamki11s/Sync/wiki
is there a list of classes and what they all do somewhere out there for sync? like the idea of you doing all the hard work of base scripting, and could use your classes rather than writing my own :-) but.... how am I to know exactly how far I can go with it if I don't know all of the classes available. so again... Is there a list of classes with descriptions anywhere?
@mima19
Better explanation of what?
better explanation please
Just to let whoever is interested know, Sync will still work on current and future Bukkit builds provided no major changes are made to the Bukkit Scheduler.
It would be nice if you could include a little bit of a tutorial for the auto-update feature. I can't seem to get that to work at all.
EDIT: After working on this and testing it, I got the auto-updates to work perfectly! I love you.