Totten
Well-Known Member
Hello people, today I came to make available to you a Plugin for MyAAC that I developed where the function is to list all items on your server by category.
A little about him:
Well, the Plugin was developed so that both lay people and people more familiar with PHP can use it. The Plugin is easy to use, just upload it to your administrative panel and it will already be working, all the configuration part on his website / bd is automatic.
In this tutorial I will teach you how to install and use the plugin.
NOTE: (It is worth noting that the Plugin works for> MyAAC <, however it can be adapted to other platforms without major problems.)
Well come on, to install:
Installation:
Go to Admin Panel, select 'Plugins', and then select list_of_items_1.1.zip and click upload. Thats all!
Configuration:
Now that we have installed it on our website, we will access the items.xml file from our server which is at:
This is the only part you will need to configure, at the end of each item's tag you will add the tag:
Example:
Our item is as follows:
A little about him:
Well, the Plugin was developed so that both lay people and people more familiar with PHP can use it. The Plugin is easy to use, just upload it to your administrative panel and it will already be working, all the configuration part on his website / bd is automatic.
In this tutorial I will teach you how to install and use the plugin.
NOTE: (It is worth noting that the Plugin works for> MyAAC <, however it can be adapted to other platforms without major problems.)
Well come on, to install:
Installation:
Go to Admin Panel, select 'Plugins', and then select list_of_items_1.1.zip and click upload. Thats all!
Configuration:
Now that we have installed it on our website, we will access the items.xml file from our server which is at:
Lua:
data/items/items.xml
This is the only part you will need to configure, at the end of each item's tag you will add the tag:
Code:
level="50"
Example:
Our item is as follows:
XML:
<item id="15066" article="a" name="Masamune Boots">
<attribute key="description" value="+3% protection all." />
<attribute key="weight" value="1000" />
<attribute key="armor" value="125" />
<attribute key="absorbPercentAll" value="3" />
<attribute key="slotType" value="feet" />
[CENTER]</item>
With the tag it will look like this:
[/CENTER]
XML:
<item id="15066" article="a" name="Masamune Boots" level="50">
<attribute key="description" value="+3% protection all." />
<attribute key="weight" value="1000" />
<attribute key="armor" value="125" />
<attribute key="absorbPercentAll" value="3" />
<attribute key="slotType" value="feet" />
</item>
Explaining the tags:
The Tag -> level <- is the item's level
Do this for the items you want to report on the website.
Now go to our website, type: seuite.com/?items
It will go to a +/- area like this:
If you login with the administrator account, you will see that the option to Reload items will appear.
What does she do? Basically, it will reload all items, updating in its database.
Well, now just access the tabs it will display the items
NOTE: The System displays in order of level, that is, from the weak + item to the strong + item based on its level.
Done!!
The Tag -> level <- is the item's level
Do this for the items you want to report on the website.
Now go to our website, type: seuite.com/?items
It will go to a +/- area like this:
If you login with the administrator account, you will see that the option to Reload items will appear.
What does she do? Basically, it will reload all items, updating in its database.
Well, now just access the tabs it will display the items
NOTE: The System displays in order of level, that is, from the weak + item to the strong + item based on its level.
Done!!
Attachments
-
list_of_items_1.1.zip6.9 KB · Views: 192 · VirusTotal
Last edited: