Comments (36)
You can use "&" for color codes in place of the special Mojang character. This should work in-game and in configs.
You can use the /mitem command to create a custom item in-game, then save it and add it to a shop.
See: https://github.com/elBukkit/MagicPlugin/wiki/CustomItems
Minecraft potion effect powers start at 0, try "night_vision:0".
from magicplugin.
For Minecraft potion effect, I tried: "night_vision:0" and it's still power 2.
from magicplugin.
And "&" doesn't work :
http://i.imgur.com/yXQuTWW.png
http://i.imgur.com/Q3PGOxy.png
Error: http://i.imgur.com/FDsWg5m.png
from magicplugin.
The item key itself can't change, unless you create it as a custom item. It should look like this if you want to keep it contained in the shop:
- item: bed
cost: 100
name: "&c&lBed"
Alternately, look at the custom items wiki link I posted above- you can create your custom item and save it and then put it in the shop, like...
/mgive bed
/mitem name &c&lBed
/mitem add lore An awesome bed!
/mitem save custombed
.. and then put "custombed" in the shop as the item. Maybe not worth it for something as simple as a rename.
I don't know what exactly you're customizing, but for most potion effects the config would look like this:
boon:
parameters:
effect_night_vision: 0
Tested this just now, it works fine, gives me the level 1 version.
from magicplugin.
Okey thanks you c:
But the effect doesn't work :/
from magicplugin.
http://i.imgur.com/f8OfXMi.png
from magicplugin.
It worked for me (though imgur is not, so you'll have to take my word for it)
Make sure to put "passive: true" on any magic item you want to work while worn. Otherwise effects are only granted when held.
from magicplugin.
Doesn't work, it's still power 1 with this :
mageboots:
passive: true
icon: iron_boots
indestructible: true
locked: true
keep: true
xp_max_boost: 0.2
potion_effects: fast_digging:0
enchantments:
protection_fall: 5
protection_fire: 4
depth_strider: 3
from magicplugin.
What do you mean? It should be power 1 with :0
This is what I get, is it not what you're getting?
from magicplugin.
from magicplugin.
Can you try this in-game?
/wand configure potion_effects fast_digging:0
That's what I did, I didn't actually do it via configs but it should be identical.
from magicplugin.
It works, but the item seems to change back to power II promptly :
https://streamable.com/8al2
from magicplugin.
That seems very odd, it routes through the same code. I'll try out your configs when I get a chance.
from magicplugin.
Our server is on 1.8
Thanks you for your time
from magicplugin.
What version of Magic have you got?
from magicplugin.
5.5.3
from magicplugin.
@NathanWolf Fix ? :)
from magicplugin.
I don't have a 1.8 test server anymore, this is going to take me a little while sorry. It's working in the latest build of Magic.
from magicplugin.
You can test it in my server If you want, test server for plugins
from magicplugin.
Thanks for the offer, but I have to set up a local one for debugging. I just don't work on the 1.8 build much anymore, but I will get to this when I can!
from magicplugin.
Yes no problem
I'm not upgrading my server to 1.9 because a lot of players hate this version.
from magicplugin.
I'm creating a plugins and I want to know if it's possible to add mana to an item / wand after an event ?
from magicplugin.
You can control wand mana via the API, yes:
from magicplugin.
With itemstack ?
from magicplugin.
No- if you're trying to change the wand a player is holding, best to use Mage.getActiveWand, this returns a Wand instance directly.
from magicplugin.
Ok I'll try, thanks for all !
from magicplugin.
Ok, I was wrong! This was broken in the current 1.9 build as well. It's now fixed in both places- please update:
from magicplugin.
@Blamo27 if your player's don't like 1.9 because of the swing timer, they added a gamerule in 1.9.2 to disable that.
from magicplugin.
A gamerule? They did? Why U no tell me these things? :D
from magicplugin.
Uhhh... Maybe I'm just imagining things... I can't find it anymore D:
from magicplugin.
You tease!
Well in theory you could make a plugin to give all players increased attack speed to compensate.
IDK, personally I could never imagine holding up a server update based on player complaints. You've just got to stay up to date ... there's really no two ways about it. Exploits, plugins, etc ...
from magicplugin.
Some plugins are not up to date (1.9) :/
from magicplugin.
You must be using some obscure plugins :(
from magicplugin.
Elytra is so OP for PvP :/
from magicplugin.
PvP/Faction servers
from magicplugin.
Ha.. I'm sure you must have brooms, levitate, fling, blink and probably a zillion other spells disabled then. Players have a different opinion of what is "OP" when there's magic involved.
from magicplugin.
Related Issues (20)
- mskills has an internal error HOT 12
- Attribute default & minimum mismatched effects?
- Custom Item Durability HOT 1
- [Bug] Automata don't update target player's location HOT 1
- [Request] Allow math/variables in costs & active costs
- Request to add "ignore attribute"
- Add "launch action" to CustomProjectile and "action" to plan
- All lores are italic HOT 6
- CustomProjectile still target self when target_self is false
- Targeting bug HOT 2
- Although fade_in and fade_out have been set to 0, they are still not 0
- add a RemoveMagicBlock Action
- add more triggers like the left click and right click to magic blocks
- [Question] Compatibility with upcoming 1.20.5/1.21 technical features & changes HOT 6
- Commision request for automata HOT 2
- Add translatable message to camera spell
- Help understanding settings for automata HOT 2
- Can't Change Hotbar_count
- Dark mode in reference HOT 1
- [Feature Request] Tracking Sense on item_display/block_display entities HOT 1
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 magicplugin.