[+] All ranks have ALL commands

Blasteh

big tits
Apr 3, 2013
1,156
521
So recently, I updated my PlusEMU to a newer production and now, every user (rank 1 to rank 9) have all the same commands even though it's not set in the database as that.

4860e63016714589bb6f84ee4ee28c70.jpeg

I have all commands when rank 1 - 9 but when I'm rank 1, I cannot move other(s) furniture (which is normal).
 
@Sledmore any idea?
 

Blasteh

big tits
Apr 3, 2013
1,156
521
Show your permission commands table?
Code:
-- ----------------------------
-- Table structure for `permissions_commands`
-- ----------------------------
DROP TABLE IF EXISTS `permissions_commands`;
CREATE TABLE `permissions_commands` (
  `command` varchar(45) NOT NULL DEFAULT '',
  `group_id` int(11) NOT NULL DEFAULT '4',
  `subscription_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`command`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records of permissions_commands
-- ----------------------------
INSERT INTO `permissions_commands` VALUES ('command_alert_user', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_allaroundme', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_alleyesonme', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_ban', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_bubble', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_carry', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_clubnx', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_control', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_convert_credits', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_coords', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_dance', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_debug', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_delete_group', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_disable_diagonal', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_disable_gifts', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_disable_mimic', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_disconnect', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_dnd', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_ejectall', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_empty', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_empty_items', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_enable', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_faceless', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_fastwalk', '1', '3');
INSERT INTO `permissions_commands` VALUES ('command_flagme', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_flaguser', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_follow', '1', '1');
INSERT INTO `permissions_commands` VALUES ('command_forced_effects', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_forcesit', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_force_draw', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_freeze', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_give', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_give_badge', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_give_coins', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_give_diamonds', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_give_gotw', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_give_pixels', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_global_currency', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_goto', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_hal', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_hotel_alert', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_hvusers', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_ignore_whispers', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_info', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_ip_ban', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_kick', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_kickbots', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_kickpets', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_lay', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_maintenance', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_makesay', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_make_say', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_make_shout', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_massdance', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_massenable', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_mass_badge', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_mass_give', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_mimic', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_mip', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_moonwalk', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_mute', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_mute_bots', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_mute_pets', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_override', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_override_massenable', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_pet', '1', '2');
INSERT INTO `permissions_commands` VALUES ('command_pickall', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_pull', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_push', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_regen_maps', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_rig', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_room', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_roommute', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_room_alert', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_room_badge', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_room_kick', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_room_say', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_room_shout', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_setmax', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_setspeed', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_sit', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_staff_alert', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_stand', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_stats', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_summon', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_super_fastwalk', '1', '3');
INSERT INTO `permissions_commands` VALUES ('command_super_pull', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_super_push', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_teleport', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_trade_ban', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_transfer', '8', '0');
INSERT INTO `permissions_commands` VALUES ('command_unfreeze', '5', '0');
INSERT INTO `permissions_commands` VALUES ('command_unload', '1', '0');
INSERT INTO `permissions_commands` VALUES ('command_unmute', '4', '0');
INSERT INTO `permissions_commands` VALUES ('command_unroommute', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_update', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_achievements', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_anti_mutant', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_bans', '6', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_bots', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_catalog', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_cata_full', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_chat_styles', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_configuration', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_filter', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_furni', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_game_center', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_models', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_moderation', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_navigator', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_promotions', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_quests', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_rewards', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_rights', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_tickets', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_vouchers', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_update_youtube', '7', '0');
INSERT INTO `permissions_commands` VALUES ('command_user_info', '7', '0');
 

yoyok

Member
Apr 24, 2013
197
24
I mean the table 'permissions'. Open table permissions and permission_rights there you can edit it.
I've looked in the source from Plusemu for the ban command.

if (Habbo.GetPermissions().HasRight("mod_soft_ban") && !Session.GetHabbo().GetPermissions().HasRight("mod_ban_any"))

So mod_soft_ban & mod_ban_any need to be rank 7 in the 'permissions_rights' table.
 

Blasteh

big tits
Apr 3, 2013
1,156
521
@JayCustom any idea? I know you're pretty intelligent with this stuff.
 
I mean the table 'permissions'. Open table permissions and permission_rights there you can edit it.
I've looked in the source from Plusemu for the ban command.

if (Habbo.GetPermissions().HasRight("mod_soft_ban") && !Session.GetHabbo().GetPermissions().HasRight("mod_ban_any"))

So mod_soft_ban & mod_ban_any need to be rank 7 in the 'permissions_rights' table.
That's for one command though, rank 1 gets EVERY command.
 

Users who are viewing this thread

Top