noinvitation mapflag

AnnieRuru

~~Cute~Cute~Scripter~~
Messages
1,677
Points
0
Location
your next door ~
Discord
AnnieRuru#1609
Github
AnnieRuru
Emulator
Client Version
2019-05-30aRagexeRE
a mapflag to block friend invitation for pvp/gvg/bg event
so player can't abuse that open a notificaition window during an important event

Download: 1.1
plugin

prontera mapflag noinvitation


block friend invite in prontera

and to block others like trade/party/guild invitation
use notrade, partylock, guildlock mapflags

... actually I'm just lazy to do it lol

credit to @kyeme
https://github.com/HerculesWS/Hercules/pull/842#issuecomment-166850955

1.0 - plugin

1.1 - plugin
- update to latest revision
- add gm_level_bypass

 
Last edited by a moderator:
Thank you! Do you have a plugin for disable trade for non guild members.

Ex: PLAYER 1 Cannot trade PLAYER 2 Unless both players in the same guild for a certain map.

Just to reduce the trade abuse during war of emperium.

TIA~

 ​

default_lv.gif

 
@AnnieRuru

if you are accepting suggestions: add a simple config with a minimum gm lvl to bypass this, great work as always!

 
Hello @Dastgir! thanks for updating the plugin. However, it is still not working. No error is shown on the console, but it prevents me from sending everyone a friendship.
Regardless of the map, any map, it does not let me send requests.
Both are on thr same map without the mapflag?

I don't understand your problem. This plugin does restrict the request to be sent.

 
Both are on thr same map without the mapflag?

I don't understand your problem. This plugin does restrict the request to be sent.
Okay, sorry for not explaining it to you right then.
But what happens is the following.. The plugin avoids requests on maps set by mapflag noinvitation, right? example: prontera mapflag noinvitation. That is, in prontera it will not be possible to send requests

However, the plugin is taking all the maps... even without a mapflag, understand? On any map I can't send requests

 
The plugin checks target map

So if Player A is in morocc, and Player B is in prontera.

Player A cannot send request to Player B.

 
Back
Top