
may also update the Menu while updating these.
Moderators: Flo, Assembler Maniac, f*ckfish, TM-Patrol
Code: Select all
$this->Aseco->releaseEvent('Oliverde8_Menu-Loaded', null);
Code: Select all
if(ASECO_VERSION>='2.2.1'){
$this->Aseco->releaseEvent('Oliverde8_Menu-Loaded');
}else{
$this->Aseco->releaseEvent('Oliverde8_Menu-Loaded', null);
}
Slacker.oliverde8 wrote:my summer holidays 2.5 month
There is no probleme with version 2.2.2. you only need to make that change. I had make necessary changes with 2.2.1. only hadn't done the change I mentioned earlier.nocturne wrote:For v2.2.2, I'd suggest using the new isAnyAdmin function to display the admin button, then the appropriate authitems can just be put in the config...
Though, if the authitems are only verified upon using the unlock password, and the plugin runs on the presumption of those being unlocked... I'm not really sure how that would work out, as I bypassed the unlock pass anyways...
Auth items are always verified. If you default the unlocked to true, it'll still require someone to be authorized to use a command/feature.nocturne wrote:For v2.2.2, I'd suggest using the new isAnyAdmin function to display the admin button, then the appropriate authitems can just be put in the config...
Though, if the authitems are only verified upon using the unlock password, and the plugin runs on the presumption of those being unlocked... I'm not really sure how that would work out, as I bypassed the unlock pass anyways...
I understand that. I was just presuming that using the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' authitem to begin with was due to the lack of a way to verify a player was an admin previous to the isAnyAdmin function you stated will be added in v2.2.2 . Since the individual admin options/buttons are shown according to the player's right according to the corresponding authitems set in the config, I'd presume that there's no need for the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' any longer... but that's just me. Hardly an issue to just to add it to all the admin sublevels.Assembler Maniac wrote:Auth items are always verified. If you default the unlocked to true, it'll still require someone to be authorized to use a command/feature.
Ok, now I get what you're saying.nocturne wrote:I understand that. I was just presuming that using the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' authitem to begin with was due to the lack of a way to verify a player was an admin previous to the isAnyAdmin function you stated will be added in v2.2.2 . Since the individual admin options/buttons are shown according to the player's right according to the corresponding authitems set in the config, I'd presume that there's no need for the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' any longer... but that's just me. Hardly an issue to just to add it to all the admin sublevels.
Was also my thought that these buttons wouldn't shown until unlocked.. of course. Having disabled the 'unlock' feature to begin with (just can't be bothered with it, hehe), and also not having examined the plugin since v1.5 (took too long for me to get it just how I wanted); I was just wondering if the available buttons were decided only upon playerconnect, and wouldn't be shown after using the unlock command.
Yes I will see for itAssembler Maniac wrote:nocturne wrote:I understand that. I was just presuming that using the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' authitem to begin with was due to the lack of a way to verify a player was an admin previous to the isAnyAdmin function you stated will be added in v2.2.2 . Since the individual admin options/buttons are shown according to the player's right according to the corresponding authitems set in the config, I'd presume that there's no need for the 'SEE_OLIVERDE8_ADMIN_HUD_MENU' any longer... but that's just me. Hardly an issue to just to add it to all the admin sublevels.
Was also my thought that these buttons wouldn't shown until unlocked.. of course. Having disabled the 'unlock' feature to begin with (just can't be bothered with it, hehe), and also not having examined the plugin since v1.5 (took too long for me to get it just how I wanted); I was just wondering if the available buttons were decided only upon playerconnect, and wouldn't be shown after using the unlock command.
I only work for Aseco sorryjosetey_77 wrote:hello The plugins that does like me podria put them to xaseco 1.10 please