you have to create a new table for navicat..
after you have to make one update every where...
example: trade- on/off || gain xp- on/off
when some one from this will be 0 than mean disable
when 1 that mean enabled
+ {
+ if (activeChar.isBuffProtected())
+ {
+ +activeChar.setIsBuffProtected(false);
+ +activeChar.sendMessage("Buff protection is disabled.");
+ +Menu.mainHtml(activeChar);
+ st = con.prepareStatement("UPDATE custom_menu SET xp_off=0 WHERE trade_off=?");
+ st.setInt(0, objectId);
+ st.executeUpdate();
+ }
+ else
+ {
+ activeChar.setIsBuffProtected(true);
+ activeChar.sendMessage("Buff protection is enabled.");
+ Menu.mainHtml(activeChar);
+ st = con.prepareStatement("UPDATE custom_menu SET xp_off=1 WHERE trade_off=?");
+ st.setInt(1, objectId);
+ st.executeUpdate();
+ }
something like this ...after you have to make a check at enter world...
and for bypass and datatable i think so you have to check it per char and i dont know how to make it :/