Comments (12)
You can attach items with <itemId>:<amount>
.
Try this command, /mail 102:100 hello
from lunarcore.
谢谢,那么我该如何使用/mail指令获取自定义遗器呢?
比如说,我需要使用/mail获取一个自定义遗器。如果用/give来获取它指令是 /give 61054 lv15 s4 4:1 5:2 8:2 9:4
Thanks a lot, so how do I get a custom holy relic using the /mail command?
Let's say I need to get a custom holy relic using /mail. If I use /give to get it the command is /give 61054 lv15 s4 4:1 5:2 8:2 9:4
from lunarcore.
Also, how do I change the title of a message sent using /mail so that it is not Test
?
from lunarcore.
The title is hardcoded in MailCommand, so you cannot change the title with /mail.
And as for relic as attachment seems to be partly impossible since mail attachments cannot have substats info atleast.
from lunarcore.
I tried to attach this relic (can be reproduce by running /give @10001 61043 s5 2:1 4:1 5:1 7:6 lv15 -maxsteps
)
correct mainstat but not for substats
from lunarcore.
oh my bad, its also correct for substats
from lunarcore.
TL;DR: You can send custom relic with custom plugins but not with /mail.
You can't see the substats before you take attachments since client does not have substats data, but process of sending items is handled on the server, so it have nothing to do with proto.
from lunarcore.
I just created a plugin for this. https://github.com/yuko1101/CustomMailPlugin
Put the plugin jar into plugins
folder and restart server.
Then run /cmail A mail with a relic | You | Here is a relic for you! $(61043 s5 2:1 4:1 5:1 7:6 lv15 -maxsteps)
.
from lunarcore.
Thank you! The problem has been solved. By the way, how can I use the serverOptions.defaultPermissions
field in config.json
to restrict player permissions? For example, I only want them to use the /help
, /give
, /giveall
commands and nothing else!
from lunarcore.
just remove "*" and put in "player.give" and "player.help"
from lunarcore.
Thank you! It worked properly.
Also, do you have any ideas about this issue ? (#74 )
from lunarcore.
And I'd like to ask, when will the skill tree feature and [swarm disaster] be fixed for the simulated universe?
from lunarcore.
Related Issues (20)
- [Feature]: 增加命令反馈的事件 HOT 1
- In version 2.1, the Light Cone cannot be unlocked or locked. HOT 1
- Is it possible to run leak beta version of honkai star rail? HOT 2
- 生成怪物开战时提示“消息获取失败” HOT 1
- Support for Equilibrium Level 0 HOT 4
- Add support to hkrpg_cn biz HOT 5
- [Enhancement] text in the bottom-left corner HOT 1
- reconnect to server HOT 2
- MoC 2nd team doesnt change
- Trailblazer skill and trace didnt get upgrade and active in battle
- 虚构叙事上下层的buff颠倒了,选的上层buff出现在下层,下层buff出现在上层,并且满分由8w分变成10w分 HOT 1
- LunarCore是否支持提供剧情?如果支持的话,如何使用? HOT 2
- 如何连接控制台 HOT 1
- some files missing from config HOT 7
- 获取服务器分发错误 HOT 2
- 无法设置支援角色导致手机页面一直有个红点无法消去 | Unable to set up support roles resulting in a red dot on the mobile page that won't go away HOT 2
- About some bugs in the simulated universe HOT 1
- I'm trying to be game buddies with my friends on lunarcore, but when I quit the game the buddies disappeared
- Some bugs about Simulated Universe 's ability tree
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lunarcore.