Not yet, it's in progress along with the rest of my plugins.![]()
CountryBlock [Replaced]
Discussion in 'Plugin Support' started by Wulf, Oct 30, 2014.
-
Wulf Community Admin
-
Hi, this plugin is nice.. but work in last version ?
-
Wulf Community Admin
-
And.. Wulf.. this config is work ? Add to blacklist.. RU etc.. thanks for reply..
Code:{ "Messages": { "AlreadyAdded": "{country} is already on the country list!", "ChatHelp": [ "Use /country add countrycode to add a country to the list", "Use /country remove countrycode to remove a country from the list", "Use /country list to list all the countries on the list" ], "CountryAdded": "{country} has been added to the country list!", "CountryRemoved": "{country} has been removed from the country list!", "ListTypeChanged": "Country list type changed to {listtype}", "NoPermission": "You do not have permission to use this command!", "NotListed": "{country} is not on the country list!", "PlayerKicked": "{player} was kicked as their country ({country}) is blocked!", "Rejected": "Sorry, this server doesn't allow players from your country!", "UnknownAction": "Unknown command action! Use add, remove, list, or type", "UnknownListType": "Unknown list type! Use blacklist or whitelist" }, "Settings": { "AdminExcluded": "true", "AuthLevel": 2, "Broadcast": "true", "ChatCommand": "country", "ChatName": "SERVER", "ChatNameHelp": "HELP", "ConsoleCommand": "country.block", "CountryList": [ "RU", "PL", "BY", "BG", "BA", "UA" ], "ListType": "blacklist" } }
-
-
I got this Error today:
Code:[Oxide] 10:56 AM [Error] Failed to call hook 'cmdCountryBlock' on plugin 'Country Block' (IndexOutOfRangeException: Array index is out of range.) [Oxide] 10:56 AM [Debug] at NLua.MetaFunctions.GetMethodInternal (LuaState luaState) [0x00000] in <filename unknown>:0 at NLua.MetaFunctions.GetMethod (LuaState luaState) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) NLua.MetaFunctions:GetMethod (KeraLua.LuaState) at (wrapper managed-to-native) KeraLua.NativeMethods:LuaNetPCall (intptr,int,int,int) at KeraLua.Lua.LuaNetPCall (IntPtr luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.LuaLib.LuaPCall (LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:
-
Wulf Community Admin
-
its okay, i think i solved it.
If its not solved i will post again. -
Well my m8 told me that this plugin kicks everyone ? Could any1 confirm this please
?
-
Wulf Community Admin
-
-
Wulf Community Admin
-
i think he has experienced the api limit problem. Are you still up to change that anytime soon ?
-
Wulf Community Admin
-
Is there anyway we could get a version that allows us to host our own IP database (MySQL), thereby not making external web requests and encountering latency/API/etc problems.
I have always wanted to us this plugin but, it has not worked reliably. It's kicked people I know are logging in from an authorized country. -
Wulf Community Admin
-
does this help https://dev.maxmind.com/geoip/legacy/csv/
-
To be deleted...
Seems I solved the problem.Last edited by a moderator: Sep 3, 2015 -
Wulf Community Admin
-
wow you were fast Wulf.
it is a valid country that should match. FR is in the list and it is whitelist.
Anyway I checked the plugin, asked a BE and a FR to disconnect and reconnect and they could enter directly so should be ok.