LoginPremium
Loginpremium 纯粹是为了处理登录和登出相关的一切而制作的。
我创建这个插件是因为找不到一个能一次性处理所有内容的合适插件。
而其他插件功能过于繁杂,导致会产生更多的延迟(lagg)。
所有版本均兼容所有 Minecraft 版本!
命令
- /Loginpremium 或 /lp - 插件的基础命令
- /loginpremium reload 或 r - 从磁盘重新加载配置文件。如果你进行了更改但未在游戏中生效,请使用此命令。
- /loginpremium set 或 s- 设置功能的基础命令。这将显示所有选项
- useprivateloginmessage - 接受 true 或 false。定义是否发送私人登录消息
- usepublicloginmessage - 接受 true 或 false。定义是否发送公共登录消息
- usepubliclogoutmessage - 接受 true 或 false。定义是否发送公共登出消息
- usesendmessageiflessthensetplayerson - 接受 true 或 false。定义当服务器在线玩家数量少于设定值时,是否发送所有公共登录/登出消息。(输入 "usesendmessage" 即可 :). 单词太长了)
- kickoverride - 接受 true 或 false。定义是否使用踢人覆盖功能
- overridekickmessage- 接受 true 或 false。定义是否移除/覆盖默认的踢人消息
- overridemessages- 接受 true 或 false。定义是否移除/覆盖默认的登录/登出消息
- kickmessage - 将踢人消息设置为后续输入的任何内容。
- MessagePublicLogin - 将公共登录消息设置为后续输入的任何内容。
- MessagePrivateLogin - 将私人登录消息设置为后续输入的任何内容。
- MessagePublicLogout - 将公共登出消息设置为后续输入的任何内容。
- spawn- 将加入玩家的出生点设置为你当前的位置。
- usespawn- 接受 true 或 false。定义加入玩家是否会被传送至指定位置
- sendlogincap- 接受数字。定义用于 usesendmessageiflessthensetplayerson 的最大玩家数量阈值。
- default - 将配置恢复为默认值(就像你第一次使用此插件时一样)
- /Loginpremium + 其他任意内容 - 将显示默认信息消息
示例:
"/loginpremium" - 如果你没有权限,这将显示默认信息消息;如果你有权限,将显示帮助消息"/lp s kickoverride true" - 这将把 kickoverride 的值设置为 true,从而为拥有权限的玩家启用踢人覆盖功能
"/lp set default" - 这将把配置文件重置为默认状态,并将这些值加载到内存中
"/lp set MessagePublicLogin &4Welcome <player> to our server!" - 这将把公共登录消息设置为“Welcome [yourname] to our server!”,并以红色显示
"/lp reload" - 将从磁盘重新加载配置文件,丢弃内存中进行的任何更改。
usesendmessage "/lp s usesendmessage true" - 这将把 usesendmessageiflessthensetplayerson 设置为 true。可以用作简写 :)
权限:
- loginpremium.*
- 允许用户访问所有 loginpremium 命令
- loginpremium.loginmessage
- 将玩家的登录消息发送给整个服务器
- loginpremium.loginoverride
- 使玩家能够在服务器满员时登录
- loginpremium.reload
- 使玩家能够使用 /lp reload 重新加载配置文件
- loginpremium.set
- 使玩家能够使用 /lp set [xx] 在游戏中设置配置文件中的各项内容
- loginpremium.use
- 定义用户是否被允许查看除信息消息以外的其他内容。授予希望允许其重载或设置的任何人此权限
配置标签:
核心:&[颜色编号] 用于颜色
<name> = 玩家的名字。
<nickname> = 玩家的昵称。
<xplevel> = 玩家的 XP 等级。
<world> = 玩家生成的世界。
<ip> = 玩家的 IP 地址。
<op> = 如果玩家是 OP。
<maxplayers> = 服务器的最大玩家数
<whitelisted> = 如果玩家在白名单中。
<motd> = 服务器的 MOTD(每日公告)。
<space> 如果前面的字符不是空格,则在此处放置一个空格
<viewdistance> = 服务器的视距。
Vault 或 permissionsEX:
<prefix> = 玩家在当前世界的组前缀
<suffix> = 玩家在当前世界的组后缀)
<prefixcolor> = 玩家前缀的颜色
Factions:
<title> = 玩家在派系中的头衔
<tag> = 玩家所属派系的标签
Towny:
<townname> = 返回真实的城镇名称
<towntag> = 返回城镇的标签
<towntitle> = 返回玩家在城镇中的头衔
<nationname> = 国家的名称
<nationtag> = 国家的标签
<surname> = 玩家的姓氏
<friendsonline> = 获取在线的 Towny 好友列表
英雄:
<heroclass> -> 该英雄所使用的职业名称
<herolevel> -> 该英雄当前的等级
<mana> -> 该英雄当前拥有的法力值
<mana%> -> 该英雄剩余法力值的百分比
图片/截图:
如果您按照以下方式配置,将会看到以下消息:"<prefix><name><prefixcolor> 已登录"
这是默认的信息消息:
是的,为我自己的服务器做了一波无耻的广告 :3

这是一个踢出消息,如果您按照以下方式配置,将会看到以下内容:"&4服务器已满,很遗憾 :( &f- &6请稍后再试!"

这是当您输入 /loginpremium set 或 /loginpremium set j7g3jygjygjj(随机内容)时可以看到的消息。

待办事项
- 允许在消息中使用 <text="" here>。目前它会被移除。
- 允许使用 /n 进行多行显示
- 修复更多尚未发现的 bug
- 有什么想法吗?
LoginPremium
Loginpremium has been made purely to handle everything that comes with login and logout.
I have created this plugin because i could not find a proper plugin to handle everything at once.
And others did just too much, so it gives more lagg.
All versions compatible with all minecraft versions!
Commands
- /Loginpremium or /lp - Base command of the plugin
- /loginpremium reload or r - Reloads the config from disk, If you have made changes, but not ingame.
- /loginpremium set or s- Base command of the set function. This will show all options
- useprivateloginmessage - Accepts true or false. Defines if the private login message will be send
- usepublicloginmessage - Accepts true or false. Defines if the public login message will be send
- usepubliclogoutmessage - Accepts true or false. Defines if the public logout message will be send
- usesendmessageiflessthensetplayerson - Accepts true or false. Defines if all public login/logout messages will be send if server has less then a defined amount of players on. (typing "usesendmessage" is enough :). stupid long word
- kickoverride - Accepts true or false. Defines if the kickoverrride will be used
- overridekickmessage- Accepts true or false. Defines if the default kick message will removed/overwritten
- overridemessages- Accepts true or false. Defines if the default login/logout message will removed/overwritten
- kickmessage - Will set the kickmessage to anything you set after this.
- MessagePublicLogin - Will set the Public login message to anything you set after this.
- MessagePrivateLogin - Will set the Private login message to anything you set after this.
- MessagePublicLogout - Will set the Public logout message to anything you set after this.
- spawn- Will set the spawn location for joining players to your current.
- usespawn- Accepts true or false. Defines if a joining player is beeing teleported to a location
- sendlogincap- Accepts numbers. Defines the maximum players for usesendmessageiflessthensetplayerson beeing used.
- default - Sets the config to its default values(like the first time you started with this plugin
- /Loginpremium + anything else - Will show the default Info message
Examples:
"/loginpremium" - This will show you the default info message if you do not have the permissisions, will show a help message if you do"/lp s kickoverride true" - This will set the value of kickoverride to true, and this enable kick override for those with permission
"/lp set default" - This will set theconfig file to its default state, and loads those values into memory
"/lp set MessagePublicLogin &4Welcome <player> to our server!" - This will set the public login message to "Welcome [yourname] to our server!", in red
"/lp reload" - Will reload the config from disk, discarding any changes made in memory.
usesendmessage "/lp s usesendmessage true" - Will set usesendmessageiflessthensetplayerson to true. use this as a shortener :)
Permissions:
- loginpremium.*
- Allows user access to every loginpremium command
- loginpremium.loginmessage
- Sends the login message from the player to the entire server
- loginpremium.loginoverride
- Makes the player able to login when the server is full
- loginpremium.reload
- Makes the player able to reload the config file with /lp reload
- loginpremium.set
- Makes the player able to set stuff in the config file ingame with /lp set [xx]
- loginpremium.use
- Defines if the user is allowed to see anything else then then info message. Give this to anyone you want to be able to reload or set
Config tags:
Core:&[colornumber] for colors
<name> = The name of the player.
<nickname> = The nickname of the player.
<xplevel> = The XP level of the player.
<world> = The world the player spawns in.
<ip> = The player his IP.
<op> = IF the player is OP.
<maxplayers> = The server's max players
<whitelisted> = If the player is whitelisted.
<motd> = The server's MOTD.
<space> = Places a space here if the character before this is no space
<viewdistance> = The server his view distance.
Vault or permissionsEX :
<prefix> = the prefix of the player in its current world
<suffix> = the suffix of the player in its current world)
<prefixcolor> = the color of the player's prefix
Factions :
<title> = the title the player has in his faction
<tag> = the tag from the player his faction
Towny:
<townname> = returnrs the real town name
<towntag> = returns the tag of the town
<towntitle> = return the title of the player in the town
<nationname> = the name of the nation
<nationtag> = the tag of the nation
<surname> = the surname of the player
<friendsonline> = get a list of townly friends online
Heroes:
<heroclass> -> The name of the class this hero is using
<herolevel> -> The level of this hero
<mana> -> the amount of mana this hero has
<mana%> -> the percentage of mana this hero has left
Images/screenshots:
This is a message you could see if you have configued it like this: "<prefix><name><prefixcolor> has logged in"
This is the default info message:
Yes shameless advertising for my own server :3

This is a kick message you could see if you have configued it like this: "&4Server is full unfortuantely :( &f- &6Please try again later!"

This is the message which you can see if you typ /loginpremium set, or /loginpremium set j7g3jygjygjj (random things)

TODO
- Allow [text="" here]=""> to be used inside a message. It currently gets removed.
- Allow multiple lines using /n
- Fix further, and still unknown, bugs
- Ideas?
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
下载 LoginPremium
- 修复了一些细微的 bug/不一致问题
- 更新至 1.7.2
- 修复了出生点设置,此设置在服务器停止时会被移除的问题
- 更改了 overrideMessage 选项:
如果启用此选项,广播的登录消息将被替换为自定义消息。
如果禁用此选项,默认消息将与自定义消息一起显示(两条独立的消息) - 添加了新标签:<space>。如果它前面的字符不是空格,该标签将被替换为空格
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧