自动欢迎玩家加入

自动欢迎玩家加入 0.2.1

jessin

活跃成员
开发者
2024-04-21
5
0
R积分
194R
jessin 提交新资源:

自动欢迎玩家加入 - 简化版欢迎公告,可以自定义steamID的头像、系统名、颜色等信息。已写好中文注释,可以根据自己的喜好进行修改。

参考了Umod上的Welcomer插件,链接:原版Umod
原版没有头像,而且较为冗杂,在此基础上进行一些小修改,最大程度上简化了他的功能。

1.自定义欢迎头像。
2.自动获取玩家所在国家(实际上是根据IP来确定的)。
3.可自定义系统通知的颜色、主要文本和关键文本的颜色。
4.极简主义,轻量代码。
5.中文注释,据需修改。

没有生成配置文件的代码,直接修改cs文件即可。不过已经配置好了基础信息,也可以直接使用。

#简化版欢迎公告,可以自定义steamID的头像、系统名、颜色等信息。已写好中文注释,可以根据自己的喜好进行修改。

阅读关于此资源更多信息...
 

Tnnnny

活跃成员
2023-06-01
6
0
R积分
1065R
进服不显示报错,提示Web 请求回调引发异常:
C#:
Web request callback raised an exception (KeyNotFoundException: The given key 'country' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <b11ba2a8fbf24f219f7cc98532a11304>:0 ents, 1 slprs                                                                              21kb/s in, 1mb/s out
  at Oxide.Plugins.Welcomer777+<>c__DisplayClass5_0.<SendWelcomeMessage>b__0 (System.Int32 code, System.String response) [0x00017] in <2b43e28fe92f4a66a9fd51f9d9c6cc0d>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <beb2b64691c64e2b95b99491bd85442c>:0
 

jessin

活跃成员
开发者
2024-04-21
5
0
R积分
194R
进服不显示报错,提示Web 请求回调引发异常:
C#:
Web request callback raised an exception (KeyNotFoundException: The given key 'country' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <b11ba2a8fbf24f219f7cc98532a11304>:0 ents, 1 slprs                                                                              21kb/s in, 1mb/s out
  at Oxide.Plugins.Welcomer777+<>c__DisplayClass5_0.<SendWelcomeMessage>b__0 (System.Int32 code, System.String response) [0x00017] in <2b43e28fe92f4a66a9fd51f9d9c6cc0d>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <beb2b64691c64e2b95b99491bd85442c>:0
已修复