tsgrissom / PotterPlus

Expansive, lore-friendly Potter configs for NathanWolf's Magic plugin for Minecraft game servers
https://tsgrissom.github.io/PotterPlus/
MIT License
7 stars 4 forks source link

Contact #19

Closed Sean-Amor closed 6 days ago

Sean-Amor commented 2 years ago

Do you think you can provide the jar files for potterplus? I would love to play this on my home server with my son.

Thank you!

tsgrissom commented 2 years ago

Yes, the plugin which drives everything in PotterPlus is Magic by NathanWolf. You can find the latest JAR here on Spigot, then follow the instructions in Getting Started on the PotterPlus wiki.

Sean-Amor commented 2 years ago

So I created an npc wand shop set it to cast wandshop but it doesn’t take my ticket? Also so far when I give myself galleons it acts like I don’t have any I just try to buy a wand? Edit: I turned on the olivander config, so that fixed the wand box/ticket issue. No luck on the currency however.

tsgrissom commented 2 years ago

The spell to access the Wand Shop is shop_ollivander. Not sure if there's an old wandshop spell still lying around around these configs or what, but make sure the one you're using is right. The currency which the shop_ollivander spell takes is the Wand Ticket welcome wand which one receives on first join or /mage reset.

Galleons can be spent at most of the other stores as detailed on the wiki. For reference in-game, you can type something like /cast shop_ and hit tab to cycle through a list of the shops. Similarly you can do something like /cast menu_ and press tab to cycle a list of menus, or free "shops" added by the config.

Sean-Amor commented 2 years ago

So far all the shops are working now, however, the spell shop (first year spells) is saying I dont have the galleons to buy snowball its saying its 3000 galleons but I have plenty, but the store accepts ac's if that makes sense?

Sean-Amor commented 2 years ago

NVM for some reason once I removed all required spells in the config it asks for acs, weird, anyway, thank you! Would the other plugins you made for potter plus be useful to me for anything else?

tsgrissom commented 2 years ago

Glad you got that sorted out! The other plugins probably aren't useful... what's public like MagicScan is currently broken and largely a developer-facing tool anyways. It would probably be useful if you were interested in designing configurations for Magic or just snooping around Magic setups to get a fuller picture of how they work. It was actually a nice little system that I do intend to fix one of these days...

Sean-Amor commented 2 years ago

Do you think sometime you may be able to update the example for the latest magic updates? Just looking to get the new spell GUI working, but it doesn’t seem to work.

tsgrissom commented 2 years ago

Yeah, I’m assuming that the separate spell GUI was added through the resource pack which is where the Potter and PotterPlus examples diverge. I was toying around with an update to this example which included a resource pack update, but I’ll also need to investigate how to get these latest features working. Thanks for letting me know! I too would like to see this cool new spell GUI with the PotterPlus example.

Sean-Amor commented 2 years ago

I found out how to get these implemented, just a little lengthy the way I am doing it. This file goes in the wands folder: controls.yml `# Button mappings

controls_cycle: icon: music_disc_wait{CustomModelData:18001} legacy_icon: diamond_axe:205 slot: controls upgrade: true mode: inventory drop: toggle swap: cycle_hotbar swap_sneak: cycle_hotbar_reverse right_click: cycle_active_hotbar right_click_sneak: cycle_active_hotbar_reverse

controls_hotbarswap: icon: oak_sign{CustomModelData:18001} legacy_icon: spell_icon:214 upgrade: true slot: controls mode: inventory drop: cycle_active_hotbar drop_sneak: cycle_active_hotbar_reverse swap: cycle_hotbar swap_sneak: cycle_hotbar_reverse right_click: toggle right_click_sneak: none use_active_name: true

controls_inventory: icon: oak_sign{CustomModelData:18001} legacy_icon: spell_icon:214 upgrade: true slot: controls mode: inventory drop: cycle_hotbar drop_sneak: cycle_hotbar_reverse swap: none swap_sneak: none right_click: toggle right_click_sneak: none

Aliases for dev build controls

controls_chest: inherit: controls_inventory

controls_old: inherit: controls_inventory

controls_hybrid: inherit: controls_inventory

Swappable or not, decided to make this a separate property

swappable_always: icon: icon_yes swappable: true upgrade: true slot: swappable swap: none swap_sneak: none

swappable_false: icon: icon_no swappable: false upgrade: true slot: swappable

swappable_whenclosed: icon: icon_yes swappable: true upgrade: true slot: swappable

Spell inventory modes

spellmode_inventory: icon: oak_sign{CustomModelData:18001} legacy_icon: spell_icon:214 mode: inventory upgrade: true slot: spellmode

spellmode_chest: icon: chest{CustomModelData:18001} mode: chest upgrade: true slot: spellmode

spellmode_cycle: icon: music_disc_wait{CustomModelData:18001} legacy_icon: diamond_axe:205 mode: cycle upgrade: true slot: spellmode

GUI display modes

gui_none: icon: gui_none upgrade: true xp_display: mana level_display: mode: currency currency: sp slot: gui

gui_actionbar: icon: gui_actionbar upgrade: true xp_display: none level_display: mode: none slot: gui use_active_name: false requirement_properties:

gui_bossbar: icon: gui_bossbar upgrade: true xp_display: none level_display: mode: none slot: gui use_active_name: false requirement_properties:

controls_bowcaster: slot: controls left_click: cycle_active_hotbar left_click_sneak: cycle_active_hotbar_reverse right_click: none right_click_sneak: none swappable: true swap: none swap_sneak: none hotbar_count: 1

Another dev-build-name

controls_bow_hybrid: inherit: controls_bowcaster`

This goes in the config folder:

wand_slots.yml wand_slots: broom_upgrade: swappable: true controls: hidden: true replaceable: true default_slotted: controls_cycle gui: hidden: true replaceable: true default_slotted: gui_actionbar spellmode: hidden: true replaceable: true default_slotted: spellmode_inventory swappable: hidden: true replaceable: true default_slotted: swappable_false

Then reference the magic.json file inside the base magic resource pack.

I then add the glyph: "/whatever the glyph is" in each spell config, I started doing it, but its not really official, and overwrites the magic spells, im sure everyone would love seeing it in your example work, you have done an amazing job this far! I considered working on some of your "to-do list" as I am making a server myself, im just not super versed in this plugin so its taking me a bit to get a grasp on it again, its been about 7 years since I worked on it lol!

Sean-Amor commented 2 years ago

I got the currency linked into itemsadders rpghud so you see your account balance real time on the screen its great.