Page 1 of 1

Themes

Posted: Mon Jul 03, 2006 2:40 pm
by imzbest :)
how can i make myself a theme??? Like on Grundex's server you can do
/theme list
/theme load

Posted: Mon Jul 03, 2006 2:54 pm
by Legolas_
Im guessing you would need to have a vars.txt like file. If you open that theme it would set the vars to /set _mirror /set _skyColor and all that

Posted: Mon Jul 03, 2006 3:28 pm
by Winny
He made a theme plugin, Im not 100% sure on how it works.

Ask him for it.

IMHO, themes suck, normal BZ is fine...

Posted: Mon Jul 03, 2006 4:27 pm
by Saber
You need themes on your server. You don't have to put many themes but you need the default one because polls can change everything and it's faster than setting everything back.

Posted: Mon Jul 03, 2006 8:22 pm
by joevano
Saber wrote:You need themes on your server. You don't have to put many themes but you need the default one because polls can change everything and it's faster than setting everything back.
There is no need to have a theme. It is just easier to do a /servershutdown, and when it comes back it will be the way it was originally configured. Also, disable permissions for '/poll set' and you will not have issues with people messing with your server variables (-pollSet if I am not mistaken).

Posted: Mon Jul 03, 2006 10:25 pm
by Spazzy McGee
errrmmm.... you forget basic wildcards

Code: Select all

/reset *
everything back to absolute, default, no arguments, normal.

If you want my advice i wouldn't allow your server admins/cops (and especially not the general public) the /set command. It gets way to much misuse, the the point at which it gets boring. I know far too many twelve-year-old-that's-just-discovered-set-command-trigger-happy-i-can-do-anything-because-i'm-an-admin type people.

Posted: Mon Jul 03, 2006 11:15 pm
by joevano
Spazzy Mcgee wrote:errrmmm.... you forget basic wildcards

Code: Select all

/reset *
everything back to absolute, default, no arguments, normal.

If you want my advice i wouldn't allow your server admins/cops (and especially not the general public) the /set command. It gets way to much misuse, the the point at which it gets boring. I know far too many twelve-year-old-that's-just-discovered-set-command-trigger-happy-i-can-do-anything-because-i'm-an-admin type people.
That works.. cool, I didn't know that one. You learn something new everyday. And at my age you sometimes learn the samething everyday, but you just don't remeber you knew :p (I avoid servers where the admins are allowed/encouraged to use the /set command. )

Posted: Thu Feb 22, 2007 3:48 am
by ramires_pl
Help with rewiriting plugin source to osx/*nix version

i dont know how to do this

but i have a theme plugin source, so this should be ease for somebody which have how to knownledge :)

Posted: Thu Feb 22, 2007 5:20 am
by macsforme
ramires_pl wrote:Help with rewiriting plugin source to osx/*nix version

i dont know how to do this

but i have a theme plugin source, so this should be ease for somebody which have how to knownledge :)
Most (all?) plugin code is cross-platform. Just compile it like normal.

Posted: Thu Feb 22, 2007 8:05 am
by ramires_pl
i will add as attachement this source, and u will see that compiling this arent possible.

It seems that one file is missing, so if is this possible to rewrite code thats will be great and next "official" plugin in package :)

Posted: Fri Feb 23, 2007 3:04 pm
by tw1sted
First, just set the variables you want (/set _skyColor, etc)
Then, do

Code: Select all

/theme save [theme name]
Finally, to list and load the themes, do

Code: Select all

/theme list
and

Code: Select all

/theme load [theme name]
I belive thats how to do it. I might be off a little. But this can only be done on the servers with the theme plugin

Posted: Fri Feb 23, 2007 3:48 pm
by ducatiwannabe
The problem with /reset * is that it resets everything to default - period. Meaning, if you had options in the worldfile to have _wingsJumpCount 5, but then did /reset * to fix the theme you're talking about, it would reset the wings jump count back to 1. Same with all other variables. So if you have a completely normal configuration/settings...yeah, that'd work...

Posted: Fri Feb 23, 2007 6:41 pm
by Spazzy McGee
Since 2.0.8, BZFS takes the options in the map file as defaults for that map, so /reset * would reset to those settings.