Ares plugins plug IN easily, but taking them out requires a bit of code fiddling.
-
Open the tinker page (Admin -> Tinker) in the web portal with a coder character.
-
Copy/paste the following to the tinker file, right below
module AresMUSH
. This will let us clear out the database fields.
class Character
attribute :traits
end
- Add the following code to the
handle
method of the tinker file.
begin
Traits.uninstall_plugin
Manage.uninstall_plugin("traits")
client.emit_success "Plugin uninstalled."
rescue Exception => e
Global.logger.debug "Error loading plugin: #{e} backtrace=#{e.backtrace[0,10]}"
client.emit_failure "Error uninstalling plugin: #{e}"
end
-
Click "Save" on the tinker page.
-
Switch to a game client window and run the
tinker
command. -
Switch back to the web portal tinker page and click "Reset".
-
Manually remove all plugin's files from your server (and GitHub fork, if applicable), including:
- aresmush/plugins/traits
- aresmush/game/config/traits.yml
- Web portal files - See the /webportal folder in this repo for a specific list of files.
-
Run the
load all
command. -
Run the
website/deploy
command.