Garry's Mod

Garry's Mod

评价数不足
WorldBorder
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
39.020 KB
5 月 15 日 下午 11:01
5 月 27 日 上午 5:34
2 项改动说明 ( 查看 )

订阅以下载
WorldBorder

描述
About
Tired of players being in every corner of huge map? The WorldBorder addon can fix this problem by setting up a border that prohibits to cross it! Even with noclip!

How to configure?
To configure addon, go to Utilities > Admin > WorldBorder > Open Settings.

In Positioning tab, you can change the size and offset of worldborder. (but it's recommended to use WorldBorder Positioner STOOL)
In Design tab, you can change material and color of worldborder.
In Behaivor tab, you can change the behaivor of worldborder, such as enabling/disabling it, changing action when player crosses the worldborder and etc.

Privileges
This addon is based on CAMI privileges, so you can change what admins can do. There are some:

wb immune - Be immune to worldborder wb position - Allow to position the worldborder wb design - Allow to change the design of worldborder wb behaivor - Allow to change the behaivor of worldborder

Convars
sv_wb_size_[x,y,z] - Size of worldborder sv_wb_offset_[x,y,z] - Offset (position) of worldborder sv_wb_color_[r,g,b] - The color of worldborder sv_wb_material - Material of worldborder sv_wb_preview - Preview the worldborder wireframe (shown to everyone) sv_wb_enabled - Enable the worldborder sv_wb_cross_action - The action to be done to player that crossed the worldborder: 0=Teleport back, 1=Dissolve player, 2=Kick player

FAQ
Q: The WorldBorder Settings window is empty or some tabs are missing.
A: That means you don't have certain permissions to configure the worldborder.

Q: The Positioner STOOL does not left-clicking.
A: You must aim to a surface or model, because the code is terrible.

Q: The color selection in design tab doesn't do anything!
A: You must select "Plain Color" material to make it work, or just type "color" in text entry.

Q: Why there is no alpha channel in color selection?
A: This is GMod API bug. The function that should change the transparency does not work on non-models (worldborder is a box, not model). You can view the bug on issue tracker here[github.com].
热门讨论 查看全部(1)
2
5 月 27 日 上午 5:34
置顶: Bugs and Suggestions HERE
Dachaos
7 条留言
kevin durant 8 月 22 日 上午 8:05 
[WorldBorder] lua/worldborder/cami.lua:283: The function CAMI.PlayerHasAccess was used to find out
whether Player dr mix has privilege "wb position", but an admin mod did not give an
immediate answer!
1. error - [C]:-1
2. PlayerHasAccess - lua/worldborder/cami.lua:283
3. LeftClick - lua/weapons/gmod_tool/stools/wb_positioner.lua:31
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:235
mksimka 666 5 月 27 日 上午 6:41 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::0101100101010101100101101010101001010101001010101010100100000011111 это ключ у моему акк
Stickie002 5 月 22 日 上午 9:46 
Dachaos, But where???
Dachaos  [作者] 5 月 22 日 上午 3:54 
unlikeaboss, use the ULX menu to edit groups privileges
unlikeaboss 5 月 19 日 下午 12:21 
how do i give myself privileges?
Mediumkey 5 月 18 日 上午 8:39 
this could be VERY great for lambda player ctf stuff
Flosius 5 月 16 日 下午 5:20 
This is really brilliant