05-21-2013, 06:43 PM
Random Chitchat 2012-2016
|
05-23-2013, 05:23 AM
I've editted the source a bit that changes the SetVersion from a int to a double, so you can have like a version 1.2 or something.
05-23-2013, 05:28 AM
I don't think it's such a good idea, who wants version 3.141592653 anyway? The version number is supposed to be incremented by one with every release of the plugin; there's no real use for it anyway, I was actually considering removing it altogether.
05-23-2013, 05:30 AM
Removing it is not a realy smart idea i think since every plugin uses it. I tested it with double and i can just have a WorldEdit v0.1 without like 8 zero's behind it.
But what then if you wanted 0.1.5a? My point is, once you open this, there's no stopping. Do you think it's really that necessary?
The Android people have solved it quite elegantly. All the apps in the Play store have two version numbers, one machine-readable int, that is compared to see if your phone has a new version or not, and one string that is visible to the users and isn't used anywhere else.
05-23-2013, 05:40 AM
Then maybe change it to a string? the GetVersion function is usefull for getting the version of a plugin from another plugin.
05-23-2013, 05:43 AM
And how would you compare a string, then? If you had a plugin that checks for updates for other plugins, it would have no way of comparing.
I'd say, keep the int, and keep it internal; display whatever string to the user (server admin).
05-23-2013, 06:36 AM
ok. i just thought it might be usefull for people who don't want to add a complete new version when they do a small update.
FakeTruth, Could this be added into the forum?: http://mods.mybb.com/view/spoiler-mycode-no-preload I'd like to use it in my WorldEdit thread for API stuff etc.
Ok I installed the plugin
"TEEST":
It seems to have trouble with code tags Thanks given by: NiLSPACE
05-24-2013, 12:55 AM
Yea sadly it seems pretty buggy ;(
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 4 Guest(s)