我的世界(MC)服务器怎么给玩家某一个指令权限。比如:fix 修复权限 等

我的世界(MC)服务器怎么给玩家某一个指令权限。比如:fix 修复权限 等,第1张

您是服主或者op吗?
指令有很多哦
/op 玩家名称 给予该玩家op权限
/op [ID]
给予某个玩家OP(这是真·OP,拥有所有的最高,所有的,包括去掉别人的OP和给别人OP)/deop [ID]
消除某个玩家的OP
/gamemode [0/1]
给予自己生存/创造模式,有人说给予别人也可以//gm [ID] 1,但是我试过是不行
/whitelist add [ID]
给予某个玩家白名单/whitelist remove [ID]
接触某个玩家的白名单
/ban [ID]
封禁某个玩家
/ban [IP]
封禁这个地址的所有号
/tempban [ID/IP] [time]
封禁某个ID或者IP一段时间,time里面这样写:1s就是一秒,1m,一分钟,1h,一小时,1d就是1天,1w,一个星期,mo,月,y,年
比如,封禁Littlebear这个玩家2个星期 (挨挨挨~~~!!不要啊~~~)
输入/tempban Littlebear 2w
/mute [ID] [time]
禁言某个玩家一段时间
/unban [ID/IP]
解封 ID或者IP
/setworth [物品名字/物品id] [数量]
设定一个东西的系统价格,这个物品名字或者ID都行
/worth [ID]
查看系统价格
不写物品id默认为查看手上的物品价格
/itemdb
查询你物品的名称和ID
手上拿着的这个
/mail [read/clear/send] [ID] [语句]
读取,清除,发送,某个离线玩家的留言
/msg [语句]
私聊
/near
查看附近的玩家
/reply [语句]
回复最后一个私聊你的玩家
/whois [nickname/ID]
查看某个玩家的用户信息,ID,akf信息,nick名,如果他给自己加了nick的话/seen
查看玩家最后一次下线前所在的坐标
/sudo [ID] [指令]
让某个玩家执行一段命令,比如/sudo Littlebear /suicide
让这个玩家自杀。。。但是OP不能强制OP执行命令
/tp [ID]
强制飞到某个玩家的身边
/tphere [ID]
让某个玩家强制飞到你身边
/tpall [ID]
让所有玩家飞到你身边,包括OP
/tppos [x] [y] [z]
传送到x,y,z
/spawner [怪物的英文名]
改变刷怪笼的刷新物,反正小熊试过是无用的- -/manuadd 名字 1-0
给某人创造或者生存/money give [钱数]
给与全部人xxx钱
代表全部人,相反的,/give xx xx也可以用
/tppos X Y Z 传送到某个坐标
服务器类:
/say [语句]
让服务器发一段所有人可见的话,并且是紫色字体的
/ping
测试你的服务器的ping值
/gc
查看服务器信息
/rules [数量]
查看服务器第几页的规矩
/essentials [reload/debug]
显示插件版本或者重读
/backup
备份服务器。需要配置备份脚本
/setspawn
在你站着的这个地方设置重生点
/setwarp [名字]
标注一块地区,以后你可以用/warp [名字] 来飞到这个你标注过的地方,相当于tp到领地
/baltop
查看财富排行榜
/compass
显示你当前的方位
/depth [ID]
显示你当前的高度,z轴高度
/getpos [ID]
显示当前的坐标x,y
/help [数量]
查看第几页的帮助
/helpop [语句]
Op留言求助
/world
切换世界为nether、normal。地狱,END等等,具体的我也不知道- -我不敢这么玩,我只试过一次,然后人飞到了地狱
/remove drops 99999 清空掉落物品
/killall mobs 杀光怪物
服务器没事执行下面指令不会卡服
/remove drops 999999
/killall mobs
作弊技能类:
/vanish
隐身(人家最~~~~喜欢用的了~~)
/fireball
释放地狱轰炸机的火球,从OP的口里吐出来
/shock [玩家ID]
雷击某个玩家,如果直接/shock 就在你的准心对着的地方给予雷击
/nuke [ID]
在某个玩家上方放核d,其实就是一堆被激活的TNT从天上飞下来
/antioch
在准心所指的地方放一颗炸d
/butcher
杀死附近的全部怪物
/killall
杀死附近的全部生物,包括人类
/kill [ID]
杀死某个玩家,= =这个我没用过。。我只喜欢隐身背后放苦力怕娘~\(≥▽≤)/(炸飞)
咳咳咳。。。。
/suicide
自杀。。。
/burn [ID]
让某个玩家起火
/ext [ID]
给某个玩家灭火
/jump
直接跳跃到准心所指地方,长途旅行很实用
/fly [ID]
给予某个玩家飞行的权限
/up [数量]
把自己提升到某个高度,最大256,脚下会生成一块玻璃垫着你
/seen [ID]
查看某人最后退出的时间
/weather [storm/sun]
改变天气
/rain off
停雨,这个更简单
/time set [xx:xx]
设置时间,比如/time set 06:00就是设置时间为早上6点
/eco [give/take/reset] [ID] [数量]
给予/拿走/重设,某个玩家的钱
/heal [ID]
回复某个玩家的生命
/ptime [reset/list/day/night/dawn/xxxx/5am/xxxxticks] [ID/]
更改一个玩家的时间,是指所有玩家,这样他们所看到的时间和你所看到的时间是不一样的。
在时间前加上@,比如@day,就变成锁定这个玩家看到的世界永远是白天,但是实际时间到了晚上,玩家就会看到白天的骷髅怪不会烧着,他就会很纳闷
/unlimited [list/item/clear] [ID]
查看,给予,清楚,某个玩家的无限物品
/nick [称号]
给自己换称号。如果你换成:Bigbear,就会显示你的名字是“~Bigbear”但是你的ID还是Littlebear(切~)
/powertool [语句]
快速在聊天框里输入一行语句比如:
手拿一个马鞍,然后输入/powertool jump
以后你拿着马鞍左键一下就会直接使用这个命令"/jump"
你想快速说话,/powertool 小熊万岁
只要左键一下就能马上在聊天里出现,小熊万岁
/powertooltoggle
清除所有的powertoll
/forestgen
在自己身旁形成森林
/pumpkins
在自己身旁形成南瓜林
/snow
在自己的身旁成为雪后的样子
/thaw
融雪、冰
/tree [树的形状]
big 大树 ewquoia
红木
Tall sequoia 高大的红木
Birch 衫树
Random 随机
/enchant [附魔属性] [等级]
用这个命令能给你手里的工具增加一个附魔属性。如果不写附魔名称则会列出附魔列表。
怒杀小学生类:
/setjail [名字]
设置一个监狱
/togglejail [名字]
把玩家送进xxx监狱,永久封存
/tjail [ID] [监狱名字] [时间]
把玩家扔到指定的监狱多少时间1d, 1h ,1w 等等
/unjail [ID] [监狱名字] [时间]
多久后把玩家解放出来
/deljail [ID]
使某玩家从监狱中释放出来
/invsee
查看某个玩家的背包,并且可以移动
/clearinventory [ID]
清空某个玩家的背包/socialspy [ID]

输入命令:show inventory,即可查看序列号。
输入序列号命令后,即可查看该阿鲁巴产品的序列号型号,也会显示出对应的MAC地址。
用户可以通过其他命令查看其他内容,如查看当前控制器版本可以输入:show version。重启服务器可以用到,reload命令。阿鲁巴的命令很丰富,你可以查看阿鲁巴配的配置手册。

腐蚀 RUST游戏指令和服务器指令一览,在服务器中,管理员也可以利用指令来管理游戏中不正当行为。下面就给大家带来腐蚀RUST基本指令及服务器指令大全,以供玩家们参考。

基本指令

(以下在聊天框内输入)

/msgmessage a specified player(私信一个玩家)

/mePuts your text into a purple color(你的 文字 将以紫色发出)

(以下在控制台内输入,按F1)

grasson true/false Enables or disables grass; Improves FPS for some(打开/关闭草地,可提高FPS)

grassdisplacement true/false Enables or disables grass displacements(打开关闭草地 移动 )

terrainidleinterval 0-100 Sets how often to draw unseen terrain; setting to 0 will disable(远景更新平率,0为不允许)

guishow Turns the UI on(显示用户界面)

guihide Turns the UI off(关闭用户界面)

guishow_branding Turns the branding UI in top-right corner on(显示右上角的标识)

guihide_branding Turns the branding UI in top-right corner off(隐藏右上角的标识)

netconnect "Server IP" Connect to a direct server IP(连接服务器IP,Server IP出填写服务器的IP)

netdisconnect Disconnects from a server(断开服务器连接)

netreconnect Reconnect to the last server you were on(重新连接上一个服务器)

censornudity false Disabled censorship(关闭裸体)

suicide Kills your character allowing for a respawn(自杀)

quit Quits the game(退出游戏)

服务器指令

rconlogin "password" Use your 'Password' to login into Rcon via ingame console (F1)。(使用控制台登录服务器)

status See how many players are online on server(查看在线玩家数量)

noticepopupall "message" Pops up a message for all players(发送服务器公告,在每个玩家屏幕上d出)

find Lists available console commands(列出控制台指令)

kick "player" Kicks player from the server(踢出某个玩家)

ban "player" or "steamid" Bans player Doesn't kick him though(封掉一个玩家)

banid "steamid" "reason" Bans a steamid from the server(封掉一个玩家的steamID,reason处可写理由,挂狗和无(B)素(I)质(U)狗去死吧)

unbanall Unbans all players(解封所有玩家)

truthenforce true/false Server kicks people automatically when they are doing "weird" things(服务器自动踢出做奇怪事情的人,如卡BUG)

saveall Saves world map and player inventory(服务器保存当前地图和玩家信息)。

say [message] Sends a message to the person/s in-game globally(以服务器身份说话)

invgiveplayer "player" "item" "amount" Gives 'Player' the 'Item' Full name and Item name required List of Items(给玩家东西,“玩家”“物品”“数量”)

invgiveall "item" "amount" Gives all players 'Item' Full Item name required List of Items(给所有人东西,“玩家”“物品”“数量”,比如节日的时候,可以作为惊喜,没人给一把q什么的)

dmggodmode true/false Gives all logged in admins godmode(开启/关闭所有人 创造 模式)

craftingcancel Cancels every single crafting job in progress for everyone(取消制作任何东西)

craftinginstant true/false Sets crafting to be instant for everyone(开启/关闭瞬间制作)

craftinginstant_admins true/false Sets crafting to be instant for logged in admins only(开启/关闭管理员瞬间制作)

craftingtimescale "amount" Sets the timescale of crafting to 'amount' (1 = default, 05 = half time)。(设置制作物品时间的速度,1为默认,05为一半时间)

airdropdrop Starts an airdrop(进行一次物品空降)

airdropmin_players "amount" Starts airdrops only when minimum X players are online(开始物品空降,当在线人数至少“X”人的时候)

vehiclespawn Spawns a car at your current position( 放置 一辆车,在你当前位置,管理装B专用)

serverhostname Sets a hostname(设置服务器名称)

serverclienttimeout "time"Sets the time until someone times out Good to fight item glitchers (Default 2 minutes)(设置超时时长,默认为2分钟)

serverpvp true/false Sets PVP on or off(开启PVP)

servermaxplayers "amount" Sets maximum amount of server slots(设置最大玩家数量)

sleeperson true/false Sets sleepers on or off(是否允许睡眠模式)

envtime "amount" Sets the time of day to a specified value(设置天的时间)

falldamageenabled true/false Turns fall damage on or off(开启/关闭掉落伤害)

RUST++ MOD

(以下在聊天框内输入)

基本命令

/share playername shares your doors with a player(共享你的门给一个玩家)

/unshare playername unshares your doors with a player(解除对一个玩家的门共享)

/help Shows commands(显示所有指令)

/pm "playername" "message" private messages a player(私聊一个玩家,名字必须写全)

/r message here quick reply to last PM(快速回复上一个私聊你的玩家)

/history Shows chat history, last 6 messages by default(显示前6个聊天内容)

/players Shows online players(显示当前在线玩家)

/location Shows the coordinates of the player(显示玩家的当前坐标)

/ping shows latency between client and server(显示服务器的延迟)

/starter gives a configurable starter kit(给予初始装备)

/friends shows your friends list(显示朋友列表)

/addfriend playername adds a player to your friends list(添加一个玩家为好友)

/unfriend playername removes a friend(移除一个好友)

/about shows server mod version(显示服务器版本)

管理员命令

/announce message here ADMIN ONLY - announces a message to the server(发送服务器公告)

/loadout ADMIN ONLY - spawns you an admin loadout set in the config file(生成一个管理 *** 作记录在设置文件夹下)

RustEssentials MOD

(以下在聊天框内输入)

/access {on} (Gives the sender access to all doors,给予你打开所有门的权限)

/access {off} (Revokes access to all doors from the sender,移除你打开所有门的权限)

/airdrop (Spawns an airdrop with a random drop location,设置一次随地地点的空降)

/airdrop(Spawns an airdrop with a drop location at the specified player,设置一次空降给某个玩家)

/ban(Bans player with reason: "Banned by a(n)",封掉一个玩家)

/ban[reason] (Bans player with reason,封掉一个玩家和愿意)

/chan {g} (Joins the global chat,加入全球聊天屏道)

/chan {global} (Joins the global chat,同上)

/chan {d} (Joins the direct chat,加入一个特定聊天屏道)

/chan {direct} (Joins the direct chat,同上)

/give(Gives the item to that player,给一个玩家指定物品)

/give[amount] (Gives the amount of the item to that player,给一个玩家指定物品和数量)

/give[item id] (Gives 1 of the item with the corresponding id to that player,给一个玩家指定的物品,这里用的是物品ID)

/give[item id] [amount] (Gives the amount of the item with the corresponding id to that player,给一个玩家指定的物品和数量,这里用的是物品ID)

/god(Gives the specified player god mode,给指定玩家上帝模式)

/heal player name (Heals the designated player,恢复指定玩家的血)

/help (Returns available commands for your current rank,显示指令)

/help [command without /] (Returns the documentation and syntax for the specified command,显示已经排除外的指令,without/后面填上你不想显示的指令)

/history {1-50} (Returns the the last # lines of the chat history,查看聊天记录,1-50里面填你想查看前面多少条记录)

/i(Gives the item to you,给自己指定物品)

/i[amount] (Gives the amount of the item to you,给自己指定物品和数量)

/i [item id] (Gives 1 of the item with the corresponding id to you,给自己指定物品,这里用的是物品ID)

/i [item id] [amount] (Gives the amount of the item with the corresponding id to you,给自己指定物品和数量,这里用的是物品ID)

/join (Emulates the joining of yourself, 模拟 自己加入游戏)

/join(Emulates the joining of a fake player,加入一个机器人到游戏中)

/kick(Kick player with reason: "Kicked by a(n)",踢出一个玩家)

/kick[reason] (Kick player with reason,踢出一个玩家和愿意)

/kickall (Kicks all users, except for the command executor, out of the server踢出所有玩家,除了输入这条指令者)

/kill(Kills the specified player,杀死一个指定玩家)

/kit [kit name] (Gives the user the specified kit if the user has the correct authority level,给一个用户指定套装,当这个玩家有指定的权限的时候)

/kits (Lists the kits available to you,列出自己所有能用的套装)

/leave (Emulates the leaving of yourself,模拟自己离开游戏)

/leave(Emulates the leaving of a fake player,模拟一个机器人离开游戏)

/mute(Mutes the player on global chat,禁言一个玩家)

/online (Returns the amount of players currently connected,显示所有服务器在线玩家)

/pmmessage (Sends a private message to that player,私聊某个玩家)

/pos (Returns the player's position,显示玩家所在的坐标)

/reload {config/whitelist/ranks/commands/kits/motd/bans/all} (Reloads the specified file,重新加载指定的文件)

/save (Saves all world data,保存世界数据)

/say message (Says a message through the plugin,以服务器身份说话,在公屏上)

/saypop message (Says a (!) dropdown message to all clients,d出一段话,在玩家屏幕上)

/saypop [icon] message (Says a dropdown message to all clients with designated icon),以icon的什么d出一段话,在玩家屏幕上

/share player name (Shares ownership of your doors with the designated user,共享门给指定玩家)

/stop (Saves, deactivates, and effectively stops the server,停止服务器并保存)

/time (Returns current time of day,显示当前世界时间)

/time {0-24} (Sets time to a number between 0 and 24,设置当前世界时间)

/time {day} (Sets time to day,设置为白天)

/time {freeze} (Freezes time,冻住当前时间)

/time {night} (Sets time to night,设置为晚上)

/time {unfreeze} (Unfreezes time,解冻当前时间)

/timescale (Returns the speed at which time passes,显示当前时间流逝速度)

/timescale [#] (Sets the speed at which time passes Recommended between 0 and 1 WARNING: THIS AFFECTS AIRDROPS,设置时间流逝速度,在0和1之间,警告!这个将影响到空降时间)

/uid (Returns your steam UID,显示你的steamID)

/uid player name (Returns that user's steam UID,显示指定玩家的steamID)

/unban(Unbans the specified player,解封指定玩家)

/ungod(Revokes god mode from the specified player,解除指定玩家的上帝模式)

/unmute(Unmutes the player on global chat,解除指定玩家的禁言)

/unshare {all} (Revokes ownership of your doors from everyone,解除对所有玩家的门共享)

/unshare player name(Revokes ownership of your doors from the designated user,解除对指定玩家的门共享)

/version (Returns the current running version of Rust Essentials,重置Rust Essentials模组的版本)

/whitelist {add} [UID] (Adds the specified Steam UID to the whitelist,把指定steamID添加至白名单)

/whitelist {check} (Checks if you're currently on the whitelist,查询白名单)

/whitelist {kick} (Kicks all players that are not whitelisted This only work if whitelist is enabled,踢出所有在白名单的人,如果白名单已经启动)

/whitelist {off} (Turns whitelist off,关掉白名单)

/whitelist {on} (Turns whitelist on,打开白名单)

/whitelist {rem} [UID] (Removes the specified Steam UID to the whitelist,移除指定steamID从白名单)

在我的世界服务器中可以通过输入指令来调整服务器的一些数值状态,这次就为大家带来我的世界服务器常用指令大全。
/say [语句]
让服务器发一段所有人可见的话,并且是紫色字体的
/ping
测试你的服务器的ping值
/gc
查看服务器信息
/rules [数量]
查看服务器第几页的规矩
/essentials [reload/debug]
显示插件版本或者重读
/backup
备份服务器。需要配置备份脚本
/setspawn
在你站着的这个地方设置重生点
/setwarp [名字]
标注一块地区,以后你可以用/warp [名字] 来飞到这个你标注过的地方,相当于tp到领地
/baltop
查看财富排行榜
/compass
显示你当前的方位
/depth [ID]
显示你当前的高度,z轴高度
/getpos [ID]
显示当前的坐标x,y
/help [数量]
查看第几页的帮助
/helpop [语句]
Op留言求助
/world
切换世界为nether、normal。地狱,END等等,具体的我也不知道- -我不敢这么玩,我只试过一次,然后人飞到了地狱
/remove drops 99999 清空掉落物品
/killall mobs 杀光怪物
服务器没事执行下面指令不会卡服
/remove drops 999999
/killall mobs
常用指令大全
1、给予人物品:/give
2、名称:/nick ID
3、发射一个火球:/fireball
4、治疗某人:/heal name
5、天谴:/lingtning name
6、禁言某人:/mute name
7、将人物1传送至人物2身旁:/tp name1 name2
8、将自己传送至某人身旁:/tp name
9、大传送阵:/tpall
10、给予自己无限的某物品:/unlimited id
11、改变天气,雷雨或晴天:weather storm/sun time
12、在自己身旁形成森林:/forestgen
13、在自己身旁形成南瓜林:/pumpkins
14、杀死附近的怪物:/butcher
15、生成一棵树:/tree
16、高度:/up

nginx -s reload :修改配置后重新加载生效
nginx -s reopen :重新打开日志文件
nginx -t -c /path/to/nginxconf 测试nginx配置文件是否正确
关闭nginx:
nginx -s stop :快速停止nginx
quit :完整有序的停止nginx
其他的停止nginx 方式:
ps -ef | grep nginx
kill -QUIT 主进程号 :从容停止Nginx
kill -TERM 主进程号 :快速停止Nginx
pkill -9 nginx :强制停止Nginx
启动nginx:
nginx -c /path/to/nginxconf
平滑重启nginx:
kill -HUP 主进程号

windowlocationreload()


不要true

解决方法:

locationreplace(locationhref);


换成这个看看

js刷新页面locationreload()用法:

代码示例:

windowlocationhref=windowlocationhref;


windowlocationreload;

1、经测试,这两句在某些情况下可以代替locationreload(true);而不会出现重试对话框达到刷新的效果。

2、在js中实现刷新页面的方法有很多种,在js中有一个locationreload()函数,它就可以实现我们想要的功能。

昨天不知道说明原因,测试环境的物理机挂了,安装k8s的3台虚拟机正好全在这台物理机上面,现在要把他们全部启动起来,安装的时候好像没有相关的步骤,今天研究一下手动重启。

报错:The connection to the server 101001236:6443 was refused

很明显apiserver没有起来,但是apiserver安装的时候是以容器的方式安装的

显示一个容器也没起来,完全不知道咋整,搜索k8s重启,看了好几篇文章,有的文章居然是kubeadm init,这txx还有什么好说的呢。不过民间的高手也是很多的,如下:

静态pod可以直接被kubelet启动,那很有可能是kubelet没有正确启动,尝试如下:每台机器上都要 *** 作

然后用 docker ps 查看,可以看到master节点上的很多k8s容器已经启动起来了,但是worker node上的容器依然没有启动,用 kubectl get nodes ,看到node的状态还是notReady,那就很有可能是防火墙的问题了,直接关闭防火墙,看到worker node上的容器也起来了。

等待所有的calico pod启动完毕,node状态就变成ready了。

但是之前启动的 nignx pod 都不存在了,原因可能是:etcd的启动方式也是容器化的,重启后etcd内的数据被初始化了。

---本来怀疑是 systemctl daemon-reload 命令造成的,但是,今天这台服务器又重启了,我又试了一遍,不执行 systemctl daemon-reload 命令是无法重启k8s的。

---但是今天重启k8s,完成之后,昨天新建的2个pod仍然是存在的,那很有可能是我昨天不熟悉流程参杂了误 *** 作,但是现在也想不起来了,就暂时告一段落了,后面遇到问题再说吧。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/10577468.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-09
下一篇 2023-05-09

发表评论

登录后才能评论

评论列表(0条)

保存