StreamCamera-Config:修订间差异

来自lxStd Wiki
无编辑摘要
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
== 配置文件详解 ==
配置文件很复杂,有用的很少:
下面是配置文件内容
 
VoteApplyCount: 2
VoteApplyCount: {int x}
IdleChangeTimeMinutes: 2
 
public:
玩家投票通过次数,当第x个玩家执行 <code>/agreevote</code> 时,通过投票.
  pnf: '§cError: Player Not Found.'
 
  focusSetToBy: §eFocus set to $Remote by $Sender
 
  DenyExists: §cDenied. FocusPlayer exsts. You may need to ask focus player to migrate
 
    focus to you by command /migratecam
 
  DenyFocusToCam: §cYou mustn't set the focus to the Camera!!!
 
actcamera:
 
  senderCallback: §aNew CameraPlayer set up.
IdleChangeTimeMinutes: {int x}
  broadcastUpdate: §ePlayer $Remote now act as the CameraPlayer.
 
  log: $Remote act as CameraPlayer with cmd from $Sender
当玩家挂机时长超过x分钟时,切换一个焦点玩家
  toRemote: §e$Sender set yoou as CameraPlayer.
 
  error1: '§c[SC] ERROR!, Sender: $Sender'
 
  BadUsage: §cPlease appoint a player to act as the Camera.
 
agreevote:
 
  issued: §aYou issued agreement to the vote.
 
  success:
 
    broadcast: §eBy the vote. Focuscam set to $Custom
CONFIG:   isHttpServerOn: false/true
  log: By a vote, focuscam set to $Custom
 
  promptToFocus: §eBy the vote. You are the camera focus now.
是否启用远程API
  already: §cYou have already issued an agreement.
 
  timedout: §cThe vote to $Custom was timed out
 
  nf: §cVote not found. use /votefocus create a vote.
 
c:
 
  now: '§aFocus: §e$Remote'
 
  nah: §cNo Focus
 
  nbs: §cNo Focus Player was found.
CONFIG:    ApiPort: {int x}
  idleto: §cIdle timed out. Focus removed from you.
 
  IdleNew: §a$Remote idle timed out. Focus set to $Custom.
远程API端口
v:
 
  to: §cLast Vote Timed Out!
 
m:
 
  scb: §aFocus Migrated.
 
  bc: §eFocus Migrated by $Sender to $Remote
 
  nfn: §cYou are not the FocusPlayer. You cannot migrate FocusCam
 
  usg: '§dUsage: /migratecam <PlayerName>, example: /migratecam Notch'
CONFIG:   ApiPth: {string x}
e:
 
  qsr: §cFocusPlayer quit. Reset RemotePlayer.
远程API路径(可以看成密码,但是不支持符号)
  fqrz: '§aRandoized selected a new player as FocusPlayer: $Remote'
 
  empty: §cServer is empty. Stop monitor.
 
  joinSet: §aFocus set to $Remote because no focus just now.
 
r:
 
  ok: §aConfiguraion reloaded. Took $Customms.
 
  fl: §cConfiguratino load faild.
 
sf:
CONFIG:   CameraPlayerName: {string x}
  f: '§eFocus : '
 
  c: '§eCamera : '
如果x不为空。则如果进入的玩家匹配名字,自动设置为相机玩家
vv:
 
  tt: '§dVote Information:'
 
  t1: '§e   Vote to: '
 
  t2: '§e    Vote Start Time: '
(算了,自己翻译一下也能知道,还有个AutoPlay,意思是在没有焦点玩家的时候的自动播放,会到处传送,坐标配置格式必须是<code>x y z,x y z</code>)
  t3: '§e    Agree-count: '
  f: §c    Vote timed out!
  'no': §cThere is no vote.
st:
  es: §eCamera Reset. By $Sender.
vf:
  vote: §aYou issued a vote to set focus to $Remote.
  log: §e$Sender issued vote to focus $Remote
  pp: §eType /agreevote in 10secs to agree $Sender's vote to focus $Remote
  ext: §cLast vote is still open. You cannot issue new vote now. Please try again
    later.
dlm:
  dr: §cSorry, but you are not the FocusPlayer. You can't do that.
  ok: §eAccording to focus player's requirement. Now focus is removed from him/her.
  empty: §eYou successfully removed focus. but focus is empty now. if you want to
    recover focus. use /focuscam yourname
  br: §e$Sender removed focus. Server focus is empty!
  asd: §e$Sender removed focus. New focus player is $Remote.
hud:
  health: '§eHealth: '
  pf: §a|
  dpf: §7|
CONFIG:
  isHttpServerOn: false
  ApiPort: 25511
  ApiPth: ILoveMC
  CameraPlayerName: lmsdscav
  HTTPAPIADDR: 0.0.0.0
  auto:
    isAutoPlay: true
    PlayWorld: world
    AutoPlayDelaySeconds: 10
    AutoLocations: 1 70 1,50 70 50,100 70 100

2023年8月21日 (一) 16:19的最新版本

配置文件很复杂,有用的很少:

VoteApplyCount: {int x}

玩家投票通过次数,当第x个玩家执行 /agreevote 时,通过投票.




IdleChangeTimeMinutes: {int x}

当玩家挂机时长超过x分钟时,切换一个焦点玩家




CONFIG: isHttpServerOn: false/true

是否启用远程API




CONFIG: ApiPort: {int x}

远程API端口




CONFIG: ApiPth: {string x}

远程API路径(可以看成密码,但是不支持符号)




CONFIG: CameraPlayerName: {string x}

如果x不为空。则如果进入的玩家匹配名字,自动设置为相机玩家


(算了,自己翻译一下也能知道,还有个AutoPlay,意思是在没有焦点玩家的时候的自动播放,会到处传送,坐标配置格式必须是x y z,x y z)