L2JMobius

Public Development => Shares/Contributions => Topic started by: G-hamsteR on January 15, 2024, 05:58:26 PM

Title: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 15, 2024, 05:58:26 PM
Hello L2JMobius Community!

I am excited to share with you the L2JMobius ACM (https://gitlab.com/nick_anto/l2jmobius-acm) (Account Manager Panel). This open-source tool is specifically designed to enhance the experience for both players and administrators of any server that is based on L2JMobius. It should be working with any Chronicle as long as it's L2JMobius.

Key Features for Players:

Account Creation: Easy and user-friendly process to create and verify an account.
Password Reset: Users can reset their password using a special link sent to their email address.
Character Unstuck: Players can unstuck their offline characters using this panel.
Donation System: Users can donate to your server using Paypal or Stripe and receive the items directly to their inventory.

Key Features for Administrators:

Donation Management: Keep track of all donations with ease.
Account Oversight: Full control and management of registered accounts. Ability to change access rights, change their password, check login history, and more.
Character Management: Oversee and manage all game characters efficiently, change their access, unstuck them, give them items, and more.
Server Management: Manage your server and its players by executing server tasks from your web panel. Java implementation is required.

Why L2JMobius ACM?
In the L2JMobius community, many users, like myself, have long been in search of a comprehensive tool that simplifies account and character management. Despite a thorough search, I found that the market lacked open-source solutions that met these specific needs. Most available options were paid, non-hosted solutions, predominantly offered as Software as a Service (SaaS). This not only imposes a recurring cost but also raises concerns about privacy and security. Such models often mean that your account information could be stored on external servers, potentially exposing sensitive data to third-party entities. Recognizing this gap, I was motivated to create L2JMobius ACM – a solution designed to be both accessible and secure, keeping your data within your control.

Open Source and Community Driven:
L2JMobius ACM is open source. We are an open-source community that believes in the power of community-driven development and welcomes contributions, feedback, and suggestions. You can find the code, documentation, and more at Gitlab (https://gitlab.com/nick_anto/l2jmobius-acm).

Getting Started:
To start using L2JMobius ACM, check the project on GitLab. I have included a comprehensive guide to help you set it up seamlessly.

Your Feedback Matters:
Feel free to share your experiences, report bugs, or suggest improvements. Together, we can make L2JMobius ACM even better.

Project links:
Source code: https://gitlab.com/nick_anto/l2jmobius-acm (https://gitlab.com/nick_anto/l2jmobius-acm)
FAQ: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/faq.md (https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/faq.md)
Screenshots: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/screenshots.md (https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/screenshots.md)


Thank you for your support and enthusiasm. Feel free to reply to this topic for any help.

Updates:

Multi-server version:
For the multiserver version check this: https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/ (https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Mobius on January 15, 2024, 06:12:59 PM
Thank you for sharing the L2JMobius ACM with the community.

Your post clearly outlines the benefits and features of this tool, and it's evident that a lot of thought and effort went into its development.
It's especially commendable that you've made this an open-source project, fostering a collaborative environment.

To ensure that all members benefit from this, I have pinned your message.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: dramaa on January 15, 2024, 07:35:59 PM
ngl, i have not seen anyone share something so precious for free ... good job and applause to you
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Naker on January 16, 2024, 04:12:57 PM
uuuuu nice, I will give some love as well. Any idea what else to add??
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 16, 2024, 04:50:04 PM
If I see interest, I could add some more features, like Discord webhooks for notifications for admins (for new account creations, donations, etc), inventory view, etc
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Mobius on January 18, 2024, 08:00:44 PM
Topic cleaned, do not spam.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 19, 2024, 01:27:27 PM
I just created a public demo for everyone who wants to try it before installing it.

Demo url: https://l2jmobius-acm.lineage2arc.com

Admin account:
Code: [Select]
username: admin
password: 123456

Test Paypal account for trying out a donation:
Code: [Select]
email: [email protected]
password: VUOe#55H

Test credit card for trying out a donation using Stripe:
Code: [Select]
Card number: 4242424242424242
Card Holder: Test Test
CVV: 111
Expiry: 11/28

With yesterday's localization update, Ubuntu is highly recommended. The project uses gettext for translations and gettext has a few issues on Windows.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on January 19, 2024, 08:14:00 PM
If I see interest, I could add some more features, like Discord webhooks for notifications for admins (for new account creations, donations, etc), inventory view, etc


Very good job. It deserves a round of applause! Keep improving it and adding other things to it :)
I want to ask if it is possible to support more than one game server?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 19, 2024, 08:44:01 PM
Thank you for your kind words!  😁

Right now it doesn't, but it could potentially be possible. How would this work? Would the user choose the server upon login? Or there should just be a drop-down list to select servers on every page?

(https://iili.io/JaT3GAx.png)

And would administrators need separate settings for each server? In the end, wouldn't it be best to just use this ACM in multiple subdomains, one for each server?

The structure and the current database tables must change. Donation items, payments, etc must be stored per gameserver. An easier update would be to separate gameserver and loginserver, since many users probably use 2 different databases for this. And this would allow you to run ACM on different subdomains and just have 3 different links for people to choose from.

EDIT: I just pushed a new version where login and gameservers are seperated.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on January 19, 2024, 09:47:36 PM
The one with the server drop down menu is great :) Databases are split and renamed. Accordingly, the donate system should be for the individual servers. In my case I use one domain. This makes me think of a master account. That is, the donation system should be connected to the login server... that is, the items from the donations should go to the login server and then you should choose a server and a character in which to use them :) It became complicated... ??? 8)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: bctey on January 20, 2024, 04:04:57 PM
How to install this ACM
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 20, 2024, 06:22:36 PM
How to install this ACM

Check this guide: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-debian.md?ref_type=heads

It's a little complex, but it ensures security.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 26, 2024, 05:00:28 PM
Hi all. I turned on the function of displaying online players and GMs in the settings, after using it I received the error as in the screenshot, I can’t do anything else. Please tell me how to solve the problem.

(https://iili.io/JczClYx.png)


Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 26, 2024, 10:58:06 PM
My bad, I removed some parts that were used there.

Here is the fix: https://gitlab.com/nick_anto/l2jmobius-acm/-/commit/41bb9b3767a931c8edaddd9de045466b8ad1bf8c
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 27, 2024, 01:29:23 PM
My bad, I removed some parts that were used there.

Here is the fix: https://gitlab.com/nick_anto/l2jmobius-acm/-/commit/41bb9b3767a931c8edaddd9de045466b8ad1bf8c
Everything is fine. The problem has been resolved. After testing, several more problems were identified.
Problem with switching the interface language, for some reason the interface language is tied to the system (browser) interface language
There is a problem with viewing characters on an account; an error appears when selecting an account.

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 27, 2024, 01:39:41 PM
I will repeat a little, the work of the author of the program is excellent, but there are not enough functions.
For example, for testing the delivery of donated items to characters, there is not enough internal balance in the personal account; if there was an internal balance, testing would be easier and players could replenish this balance with the required amount of internal currency.
I would also like to see support for multiple servers, when during authorization the player selects his server and enters the authorization data.
I would also like to see tools for customizing the cabinet interface.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 27, 2024, 05:09:18 PM
Everything is fine. The problem has been resolved. After testing, several more problems were identified.
Problem with switching the interface language, for some reason the interface language is tied to the system (browser) interface language
There is a problem with viewing characters on an account; an error appears when selecting an account.


This was caused by a recent update where utf8_encode was replaced. I just pushed a fixed. Could you test it?

https://gitlab.com/nick_anto/l2jmobius-acm/-/commit/55fea88857ecc913248f832eae05bf2178cbbf04

Regarding the translations, gettext is having some issues on Windows. It uses the system's available language packs. On Ubuntu (which I'm using) it's far more easier. All you have to do is install these languages. Check this installation guide, on part 6: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-debian.md?ref_type=heads

Donations right now work per item. I could potentially add an internal balance to the account and make the player use this balance for purchases. Let me think about it a little.

Could you also share your .mo files? I saw that you have translated everything into Russian :D

Edit: For changing the appearance of the ACP, you can use css or edit the views of the html files. All the colors and display options are under public\assets\css\style.css

To change the HTML and the structure of some page, check the views folder. I would like to avoid adding configs for colors, etc, since it will be an extra unnecessary check. You can also change your logo by replacing the file at \public\assets\img
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 27, 2024, 06:08:01 PM

This was caused by a recent update where utf8_encode was replaced. I just pushed a fixed. Could you test it?
Could you also share your .mo files? I saw that you have translated everything into Russian :D

Thank you, now everything works, character statistics are displayed when you click on the account name

Translation
https://disk.yandex.ru/d/RPupNBizYwc-Ag (https://disk.yandex.ru/d/RPupNBizYwc-Ag)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 27, 2024, 06:22:12 PM
https://disk.yandex.ru/d/RPupNBizYwc-Ag (https://disk.yandex.ru/d/RPupNBizYwc-Ag)

Thank you very much! I just pushed a new version that uses in-game balance. After you update your files, navigate to your ACM settings and you can see an option to use internal balance as currency.

After you enable it, you can edit the balance of accounts from the account edit section. Give it a try, I haven't tested it on a live environment yet.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 27, 2024, 07:02:45 PM
Thank you very much! I just pushed a new version that uses in-game balance. After you update your files, navigate to your ACM settings and you can see an option to use internal balance as currency.

After you enable it, you can edit the balance of accounts from the account edit section. Give it a try, I haven't tested it on a live environment yet.

Thank you, everything works. The balance is replenished, items are purchased and delivered to players
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 27, 2024, 07:18:56 PM
Glad to hear it  ;D

I just tested the payments using Stripe and Paypal and they work. I had to apply some fixes. The account's balance is updated after a successful payment.

I will make a multi-server version in the future, but I will create a separate branch and maintain both of them because the logic is completely different and it will be hard to implement it in this one.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 28, 2024, 10:23:52 AM
Glad to hear it  ;D

I just tested the payments using Stripe and Paypal and they work. I had to apply some fixes. The account's balance is updated after a successful payment.

I will make a multi-server version in the future, but I will create a separate branch and maintain both of them because the logic is completely different and it will be hard to implement it in this one.

Great. I thought of a few more things that would be nice to have in the admin section.
Create a separate Administrator section, which will be shown only to the Administrator when he is authorized in his personal account, implement a player reward function there, for example, send an ID item to all players, also implement a filter by level, for example, send an ID item to players of 85 95 100 105 110 levels
Implement switching themes, dark and light.
Implement two-factor authentication to protect against unauthorized login, either through the application or when creating an account, an additional authorization key will be generated for your personal account.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Cz3siek on January 28, 2024, 01:30:15 PM
hello, i try to instal that ACM but no succesfull, system ubuntu but no nginx but apache, after install all and configure i get message "404 Not Found",
all privilages for folder and files is add just script index.php redirect to /en.

On screenshots and demo site looks nice, but dont think many ppl will use that cos is made for main site and too modern technology like for me, i am to old change mind to use composer that i dont understand how is work :).
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 28, 2024, 01:51:42 PM
hello, i try to instal that ACM but no succesfull, system ubuntu but no nginx but apache, after install all and configure i get message "404 Not Found",
all privilages for folder and files is add just script index.php redirect to /en.

On screenshots and demo site looks nice, but dont think many ppl will use that cos is made for main site and too modern technology like for me, i am to old change mind to use composer that i dont understand how is work :).
on a test server, deploy a backup copy of your server, install nginx and combine nginx+apache, test for functionality
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 28, 2024, 02:59:50 PM
There is a .htaccess file included for apache installations. All you have to do is point your vhosts to the /public folder.

Send me the steps you followed and I will guide you. Composer is mandatory, you have to install it. If you can't add it for some reason, give me your php version and I can send you the vendor folder with all installed composer files
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Cz3siek on January 28, 2024, 07:35:51 PM
Thanks for answer.
So my server is private machine HP ProLiant 7th Gen.
OS Ubuntu 22.04,
MariaDb 10.6.16,
Apache 2.4.52,
php8.2.
All i installed from Debian guide, and all is installed ( all php extensions, composer, and ofc many other thinks i use on my server :) ).
Just when i try open site used my host address
apachece give me answer 404, but like you say need some aditional .htaccess maybe that will help.
About Nginx, i just realy dont like this one for web server, i try few times use that but always have problem,
maybe cos old man have concret brain thinking :P.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 28, 2024, 08:21:23 PM
I will create a complete Apache guide and post it tomorrow
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Cz3siek on January 28, 2024, 11:00:22 PM
to solve problem with apache needs edit virtual host files on folder
/etc/apache2/sites-available

and there you will have files with your domain name or like on my i have one default for port 80 and my host name for ssl port 443
on both i add inside:

    <Directory "/var/www/html/l2jmobius-acm/public">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

and ofc need reload apache

and make sure all modules is enabled

sudo a2enmod rewrite

sudo apachectl restart

or
sudo systemctl restart apache2

one me it helps and works all perfect.




Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 29, 2024, 04:36:01 PM
I never got around to installing this on Debian. I tried both apache and nginx and still get the error Error updating version file.
After entering the command sudo apt install php8.2-getttext
I get an answer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package php8.2-getttext
E: Couldn't find any package by glob 'php8.2-getttext'

(https://iili.io/JcSQzGI.png)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Lavion on January 29, 2024, 04:44:25 PM
This is amazing work! 
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 29, 2024, 06:14:21 PM
I never got around to installing this on Debian. I tried both apache and nginx and still get the error Error updating version file.
After entering the command sudo apt install php8.2-getttext
I get an answer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package php8.2-getttext
E: Couldn't find any package by glob 'php8.2-getttext'

(https://iili.io/JcSQzGI.png)

Create a file named .version inside your project folder and make it writable. This problem means that your nginx/apache doesn't have the rights to create this file.

eg:
Code: [Select]
cd /var/www/l2jmobius-acm
touch .version
chmod 777 .version

UPDATE: I added a task manager that allows administrators to handle some in-game tasks from the ACM. You can kick/jail/chatban, etc players, shutdown/restart the server or make an announcement. Check this for more information: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/task-manager.md?ref_type=heads. It requires a Java implementation too. I have added the java file that you need to insert. It could work for any Chronicle, but it certainly works for CT_0 Interlude. If someone finds any issue with later Chronicles, send me a message and I will try to adapt it.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 29, 2024, 11:36:56 PM
Create a file named .version inside your project folder and make it writable. This problem means that your nginx/apache doesn't have the rights to create this file.

eg:
Code: [Select]
cd /var/www/l2jmobius-acm
touch .version
chmod 777 .version

UPDATE: I added a task manager that allows administrators to handle some in-game tasks from the ACM. You can kick/jail/chatban, etc players, shutdown/restart the server or make an announcement. Check this for more information: https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/task-manager.md?ref_type=heads. It requires a Java implementation too. I have added the java file that you need to insert. It could work for any Chronicle, but it certainly works for CT_0 Interlude. If someone finds any issue with later Chronicles, send me a message and I will try to adapt it.

Everything is fine, after making the changes it worked. Many thanks for the help.
Tested the new Task Manager, everything works fine on The Source Of Flame, rebooting the server, Announcements and sending items to all players work.
There are several suggestions. They are very important for the game.
If it is possible to implement the destruction of an item with an ID for all players, then this will be a very useful function.
Thank you very much for this Control Panel. Good luck in work and in life.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 30, 2024, 12:06:42 PM
Everything is fine, after making the changes it worked. Many thanks for the help.
Tested the new Task Manager, everything works fine on The Source Of Flame, rebooting the server, Announcements and sending items to all players work.
There are several suggestions. They are very important for the game.
If it is possible to implement the destruction of an item with an ID for all players, then this will be a very useful function.
Thank you very much for this Control Panel. Good luck in work and in life.

Do you mean destruction from all online players, or from all players in general?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 30, 2024, 12:34:35 PM
Do you mean destruction from all online players, or from all players in general?
Destroying an item from all players, as well as from the warehouse and the clan warehouse
This is necessary for rare cases when a glitch occurs, for example, with voting and players receive too much of an item, also if there is a problem with the item, for example, players can get an item in a location that is not yet available
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 30, 2024, 01:49:58 PM
Destroying an item from all players, as well as from the warehouse and the clan warehouse
This is necessary for rare cases when a glitch occurs, for example, with voting and players receive too much of an item, also if there is a problem with the item, for example, players can get an item in a location that is not yet available

You can create an admin command to handle something like this. ACM is basically used for everyday staff so that you won't have to login in-game for common tasks. If something is serious like this one, you can do it from in game.

Make a command like admin_delete_item_from_all <item_id>. If you need help with this, start a topic in the forum and I will help you implement it.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: nasseka on January 30, 2024, 03:41:43 PM
sql query works too.
You can create an admin command to handle something like this. ACM is basically used for everyday staff so that you won't have to login in-game for common tasks. If something is serious like this one, you can do it from in game.

Make a command like admin_delete_item_from_all <item_id>. If you need help with this, start a topic in the forum and I will help you implement it.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 30, 2024, 06:03:01 PM
sql query works too.

He needs to have the server offline for the query to work. But it's on rare occasions, so I guess restarting the server won't harm that much.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: CondorUA on January 31, 2024, 08:37:18 AM
He needs to have the server offline for the query to work. But it's on rare occasions, so I guess restarting the server won't harm that much.
You are right, to make these changes you need to restart the server
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on February 03, 2024, 09:33:01 PM
Thank you for your kind words!  😁

Right now it doesn't, but it could potentially be possible. How would this work? Would the user choose the server upon login? Or there should just be a drop-down list to select servers on every page?

(https://iili.io/JaT3GAx.png)

And would administrators need separate settings for each server? In the end, wouldn't it be best to just use this ACM in multiple subdomains, one for each server?

The structure and the current database tables must change. Donation items, payments, etc must be stored per gameserver. An easier update would be to separate gameserver and loginserver, since many users probably use 2 different databases for this. And this would allow you to run ACM on different subdomains and just have 3 different links for people to choose from.

EDIT: I just pushed a new version where login and gameservers are seperated.


How do I do this? I have 4 game servers with different database names, but they are on the same protocol connected to one login?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 03, 2024, 09:35:16 PM
It's not yet possible. I will create a separate project for multiple gameservers shortly. It's a huge change and I have to redesign the basic project's structure. I will probably start developing it next week and keep you posted.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Andariel on February 04, 2024, 10:19:43 PM
I tried to see if I can donate, but I don't receive the item in the game.. in the database it appears that he donated
does the player have to be logged in or not? by which method is the item sent to the player?
https://prnt.sc/Y0VH3THeuuoZ (https://prnt.sc/Y0VH3THeuuoZ) 
https://prnt.sc/jWIpaVe0x5b9 (https://prnt.sc/jWIpaVe0x5b9)
https://prnt.sc/-_YxtnH5BvkD (https://prnt.sc/-_YxtnH5BvkD)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Andariel on February 04, 2024, 11:55:06 PM
my bad... i  need to set :) CustomMailManagerEnabled = True


but i find other bug when I choose another language, nothing happens
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 05, 2024, 10:39:45 AM
my bad... i  need to set :) CustomMailManagerEnabled = True


but i find other bug when I choose another language, nothing happens

I use gettext for translations and it's having a few bugs on Windows. It's working on Debian.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 05, 2024, 03:46:36 PM

How do I do this? I have 4 game servers with different database names, but they are on the same protocol connected to one login?

I started developing the multi-server version today. I will probably finish it within the week. Take a look at the new configs. It will support up to 8 gameservers.

https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/-/blob/main/.env.example?ref_type=heads

I will post an update once it's completed.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on February 05, 2024, 07:33:33 PM
I started developing the multi-server version today. I will probably finish it within the week. Take a look at the new configs. It will support up to 8 gameservers.

https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/-/blob/main/.env.example?ref_type=heads

I will post an update once it's completed.

You are the best... i go test now  :)

Have to delete old db ?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 05, 2024, 09:01:06 PM
It's not working yet, but you can check its progress. I will let you know once it's completed.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 11, 2024, 09:10:53 PM
Hello. I want to thank you for such a super development. When implementing this solution into the Fafurion server, I encountered the following problems.
Please tell me, did I do everything right?

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Andariel on February 12, 2024, 09:43:25 PM
I think it could be useful and a way to vote and reward for it
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 13, 2024, 10:04:31 AM
Hello. I want to thank you for such a super development. When implementing this solution into the Fafurion server, I encountered the following problems.
Please tell me, did I do everything right?



Hi, try to change player.getSummon() to player.getPet().
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 13, 2024, 10:06:44 AM
I think it could be useful and a way to vote and reward for it

I could, but most servers want this functionality in-game. They either have a NPC or the player types a command to receive rewards.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 14, 2024, 02:14:24 PM
Hi, try to change player.getSummon() to player.getPet().
everything worked out, thank you very much
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on February 14, 2024, 11:58:38 PM
Hello friends! Is there a way to make the account panel work with another site from the same IP address? Because this setting does not allow to open sites other than acm. ???

https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp (https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 15, 2024, 12:41:54 AM
Hello friends! Is there a way to make the account panel work with another site from the same IP address? Because this setting does not allow to open sites other than acm. ???

https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp (https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp)
it's easier to do in Linux
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 15, 2024, 02:40:27 PM
Hello friends! Is there a way to make the account panel work with another site from the same IP address? Because this setting does not allow to open sites other than acm. ???

https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp (https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/installation-on-windows.md#4-configure-apache-via-xampp)

You can setup as many websites and domains as you want. Add them all to your httpd-vhosts.conf.

For example,

Code: [Select]
<VirtualHost *:80>
  DocumentRoot "C:/xampp/htdocs"
  ServerName localhost
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/l2jmobius-acm/public"
    ServerName yourdomain.com
    <Directory "C:/xampp/htdocs/l2jmobius-acm/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

... etc

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 17, 2024, 04:13:56 PM
Hello. I have a question. It is possible to somehow implement a function in ACM that would include sending an item to the character_premium_items table
I conducted tests on my server, items can be obtained from the vitamin manager, but I need your help in implementing the sending of items from ACM to the character_premium_items table
Thank you in advance

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 17, 2024, 05:17:49 PM
Check controllers/webhooks/stripe.php and paypal.php

These files are responsible for delivering the items. Right now it uses the custom_mail table. You can modify it and change the table and the sql query.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 19, 2024, 05:55:50 AM
Check controllers/webhooks/stripe.php and paypal.php

These files are responsible for delivering the items. Right now it uses the custom_mail table. You can modify it and change the table and the sql query.

Hello. Thanks for the tip. I checked, everything works, but not quite as I would like. The player cannot purchase several items, a new donation overwrites the previous one, if it was not received before, the notification does not immediately come that you can pick up an item, only after relogging or entering the game.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on February 19, 2024, 04:58:41 PM
Send me your character_premium_items table sql with sample data so I can take a look and help you.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Black Judge on February 22, 2024, 09:40:13 PM
Send me your character_premium_items table sql with sample data so I can take a look and help you.
hi, I wrote you a personal message
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: veriongt on March 24, 2024, 07:11:13 PM
i have succesfully set it up and working perfectly from localhost
the problem i have is on my mane site i create a subdomain *acp* and i forward it with A zone to the ip that i have the acm set up
DNS Propagation completed
Port 80,443 is opened

but when i try to go to the subdomain i get error 403 sometimes with vpn from different countrys work but not all the time

any idea why?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on March 24, 2024, 08:28:52 PM
Is there a way to get this thing under port 80 or because of a donation the system can't? and one more question, will multi account manager work?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on March 26, 2024, 06:43:37 PM
i have succesfully set it up and working perfectly from localhost
the problem i have is on my mane site i create a subdomain *acp* and i forward it with A zone to the ip that i have the acm set up
DNS Propagation completed
Port 80,443 is opened

but when i try to go to the subdomain i get error 403 sometimes with vpn from different countrys work but not all the time

any idea why?

Are you on Windows or Linux? Are you using Cloudflare?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on March 26, 2024, 06:46:07 PM
Is there a way to get this thing under port 80 or because of a donation the system can't? and one more question, will multi account manager work?

You must use SSL for this to work, otherwise you won't be able to use Stripe as a payment proccessor. An easy alternative is to proxy the requests through Cloudflare. Cloudflare adds its own SSL and you can keep listening to port 80.

The multi-server option is not yet done. I am too busy with my work these days. I will probably continue its development in a few weeks.

If you are familiar with PHP, here is the logic for the multi-server version. https://gitlab.com/nick_anto/l2jmobius-acm-multiserver

What's actually left is to split all settings into "General" and "Server" ones.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: l2aa on April 07, 2024, 08:50:45 PM

To automatically credit a donation, do you need to register a PayPal business account? How is PayPal working normally?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 07, 2024, 10:45:53 PM
No, I didn't use Paypal Checkout on purpose. You can use a regular account. Just add your email address. There are no tokens needed.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: mikelcarr on April 09, 2024, 02:27:05 PM
Quote
Missing staff:
The IDs of classes are up to c6. If someone could fill-in the gaps for newer chronicles I would appreciate it. https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/helpers/game-classes.php?ref_type=heads

I did a commit with all the classes up to 7.3 (Essence Seven Signs). If it didn't commit as supposed, tell me and I'll post whenever you want the code up to day.

Also, I would like you to add to the FAQ if someone is willing to use ACM to send items/donation stuff they should enable Custom_Mail at

Quote
...\game\config\Custom\CustomMailManager.ini

CustomMailManagerEnabled = True

Otherwise, it will just fill the table without sending anything to the player.

Cheers!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 09, 2024, 09:30:02 PM
I did a commit with all the classes up to 7.3 (Essence Seven Signs). If it didn't commit as supposed, tell me and I'll post whenever you want the code up to day.

Also, I would like you to add to the FAQ if someone is willing to use ACM to send items/donation stuff they should enable Custom_Mail at

Otherwise, it will just fill the table without sending anything to the player.

Cheers!

Thank you for your help! Could you create a merge request so I can include your changes to the project? Otherwise I can make the same changes using your files.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: home on April 19, 2024, 09:15:35 PM
how to install on hosting?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 20, 2024, 12:49:58 AM
how to install on hosting?

Depends on your panel. I can't create any guides for panels. It should be possible, but it requires some general knowledge of composer, php and nginx or Apache.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 20, 2024, 04:42:20 AM
Hello and thanks for this incredible work...

I try to install in a Fedora for tests, followed ubuntu tutorial, but the error "Error updating version file." don't fixed by chmod in .version file

any hints? thanks in advance
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 20, 2024, 10:38:10 AM
Another problem here, after i managed nginx to work "properly" (because nginx cannot use the folders "sites-available" and "sites-enabled" by default, i don't know why... probably use default.d directory to manage sites) now, the script is not rendered, just download with random name...

i really need a little help on that, i use apache and don't manage this to work in any way in apache too
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 20, 2024, 12:04:36 PM
Another problem here, after i managed nginx to work "properly" (because nginx cannot use the folders "sites-available" and "sites-enabled" by default, i don't know why... probably use default.d directory to manage sites) now, the script is not rendered, just download with random name...

i really need a little help on that, i use apache and don't manage this to work in any way in apache too

I am sending you a personal message with my Discord. Ask me there, I will help you.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 20, 2024, 12:51:33 PM
I am sending you a personal message with my Discord. Ask me there, I will help you.

Please, take a look in the reply
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 21, 2024, 07:16:04 AM
Got success with httpd here, and is a awesome tool, congrats and thanks for support, G-hamsteR


I translate to pt-BR soon


cheers
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 21, 2024, 09:20:30 AM
I did a commit with all the classes up to 7.3 (Essence Seven Signs). If it didn't commit as supposed, tell me and I'll post whenever you want the code up to day.

Also, I would like you to add to the FAQ if someone is willing to use ACM to send items/donation stuff they should enable Custom_Mail at

Otherwise, it will just fill the table without sending anything to the player.

Cheers!

I commited your changes. Thank you!

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 21, 2024, 10:47:25 AM
Major update:

The multi-server version is live. You can find it at https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/ (https://gitlab.com/nick_anto/l2jmobius-acm-multiserver/).

Migrating from the normal version to this version requires you to run the following queries:

Code: [Select]
ALTER TABLE `acm_donation_items` ADD `gs_id` TINYINT(1) NOT NULL DEFAULT '1' AFTER `price`;
ALTER TABLE `acm_donations` ADD `gs_id` TINYINT(1) NOT NULL DEFAULT '1' AFTER `tnx_id`;

The new .env file contains information for up to 8 gameservers in addition to the login server's configuration.

Settings are the same for all the gameservers. Only the donation list changes for each gameserver. You can switch between gameservers using the dropdown on the top-right corner.

Paypal and Stripe have not been tested. They should work, but someone must give them a try.

If you encounter any problems, feel free to post them here. I will be providing support.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on April 21, 2024, 07:20:41 PM
This happened at the first launch of the panel, in principle, I did everything correctly, but I'm clearly making a mistake somewhere. Can I have a bit of help?

Code: [Select]
Warning: Undefined array key "GS1_HOST" in E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php on line 96

Warning: Undefined array key "GS1_PORT" in E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php on line 97

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'game1.acm_settings' doesn't exist in E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php:32 Stack trace: #0 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php(32): PDOStatement->execute(NULL) #1 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php(27): DB->query('SELECT * FROM a...', NULL) #2 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\Settings.class.php(12): DB->fetch('SELECT * FROM a...') #3 E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php(106): Settings->__construct(Object(DB)) #4 E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\functions.php(5): require_once('E:\\xampp\\htdocs...') #5 E:\xampp\htdocs\l2jmobius-acm-multiserver\public\index.php(5): require_once('E:\\xampp\\htdocs...') #6 {main} thrown in E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php on line 32

 ???
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 22, 2024, 12:12:35 AM
A error creating acm_settings table or reading it... verify your database if exist's a acm_settings table
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 22, 2024, 12:27:38 AM
This happened at the first launch of the panel, in principle, I did everything correctly, but I'm clearly making a mistake somewhere. Can I have a bit of help?

Code: [Select]
Warning: Undefined array key "GS1_HOST" in E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php on line 96

Warning: Undefined array key "GS1_PORT" in E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php on line 97

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'game1.acm_settings' doesn't exist in E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php:32 Stack trace: #0 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php(32): PDOStatement->execute(NULL) #1 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php(27): DB->query('SELECT * FROM a...', NULL) #2 E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\Settings.class.php(12): DB->fetch('SELECT * FROM a...') #3 E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\settings.php(106): Settings->__construct(Object(DB)) #4 E:\xampp\htdocs\l2jmobius-acm-multiserver\helpers\functions.php(5): require_once('E:\\xampp\\htdocs...') #5 E:\xampp\htdocs\l2jmobius-acm-multiserver\public\index.php(5): require_once('E:\\xampp\\htdocs...') #6 {main} thrown in E:\xampp\htdocs\l2jmobius-acm-multiserver\classes\DB.class.php on line 32

 ???

There was an error which I think I fixed with the latest commit. Try to update to the latest version.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 22, 2024, 03:34:08 AM
I know it may seem obvious, but SEPARATE the loginserver and gameserver databases, for those who have just one server it's okay... there will be no way to use the system with 2 servers with the login tables inserted in both, so it's the tip. 8)
Well, after the tip, the ERROR
"Error updating Gameserver version file."  :'(
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on April 22, 2024, 08:39:18 PM
I know it may seem obvious, but SEPARATE the loginserver and gameserver databases, for those who have just one server it's okay... there will be no way to use the system with 2 servers with the login tables inserted in both, so it's the tip. 8)
Well, after the tip, the ERROR
"Error updating Gameserver version file."  :'(

Here we are talking about several servers on one protocol... One login and several game servers on one version, not several logins and game servers :) then it is clear that separate acm panels will be needed :)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: anarki on April 22, 2024, 08:43:13 PM
There was an error which I think I fixed with the latest commit. Try to update to the latest version.


Yoooo... it started and now I'm going to test it. And I have a question?
Are all database tables now imported into the login? Or is something wrong?


Now I see... when a server is selected, a table is automatically created in the game server :) have to test donate system...
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on April 23, 2024, 01:02:51 AM
Here we are talking about several servers on one protocol... One login and several game servers on one version, not several logins and game servers :) then it is clear that separate acm panels will be needed :)
Yes of course, is only e tip
Quote
Yoooo... it started and now I'm going to test it. And I have a question?
Are all database tables now imported into the login? Or is something wrong?
I noticed that, only one table is inserted in gameserver, all the rest in loginserver...
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 23, 2024, 12:03:40 PM
Yes, all the tables are in login server. They are there to handle settings and donations. Only the task manager is added to the gameservers, which your server needs in order to perform these tasks.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Brado on May 21, 2024, 12:12:34 PM
After finishing the installation, I'd like to thank you for sharing this with us also congratulations for your work!
I'd like to ask you as well if you are open to new implementation ideas or if you're doing paid tasks for it.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on May 21, 2024, 12:52:23 PM
After finishing the installation, I'd like to thank you for sharing this with us also congratulations for your work!
I'd like to ask you as well if you are open to new implementation ideas or if you're doing paid tasks for it.

I am open to new implementation ideas. I am thinking of a way to create a plugin system, which will allow others to create plugins. I already have some work from others, like Raid Boss info and I haven't added them because I want to do them as plugins.

It's not within my plans to create paid plugins. Feel free to share your ideas with me. If it's something that won't benefit the majority of the users, I would potentially develop for money or even guide you so you can develop it yourself.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on July 06, 2024, 06:36:32 PM
Thank you G-hamsteR, for sharing this account manager and for the great support.

I think there is a problem with the login history. All DB in account_login_history is shown in every account.
Login type always says Website, never Game.

Maybe i miss something?

How I did a test:
Created new account, logged in panel, opened Login history and every account history is shown.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 07, 2024, 02:58:35 AM
Thank you G-hamsteR, for sharing this account manager and for the great support.

I think there is a problem with the login history. All DB in account_login_history is shown in every account.
Login type always says Website, never Game.

Maybe i miss something?

How I did a test:
Created new account, logged in panel, opened Login history and every account history is shown.

Thank you for reporting. I haven't tested it, but it's presumably fixed: https://gitlab.com/nick_anto/l2jmobius-acm/-/commit/f971308dae3ef75cab4dbf8c5d0ece29ff6dcf54
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on July 07, 2024, 12:42:04 PM
Thank you for reporting. I haven't tested it, but it's presumably fixed: https://gitlab.com/nick_anto/l2jmobius-acm/-/commit/f971308dae3ef75cab4dbf8c5d0ece29ff6dcf54
Thank you!
I make some tests and seems that works good, every account show their history.

When you have free time, please check why login from game is not stored in database.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 07, 2024, 05:31:22 PM
Thank you!
I make some tests and seems that works good, every account show their history.

When you have free time, please check why login from game is not stored in database.

You must create it Java-side. ACM can't handle it by itself. Find the part where a Player logs into the world and add a row inside this table.

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on July 07, 2024, 08:31:20 PM
You must create it Java-side. ACM can't handle it by itself. Find the part where a Player logs into the world and add a row inside this table.
Oh sorry, I didn't even think of that, I'll give it a try.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: midnight on July 14, 2024, 10:50:40 AM
Hi, I would like to thanks, the acm is great!.
If someone can give it to me a hand, I'm trying to set a Smtp mail, I write my credentials, but when I use it say cannot send a mail, or it just give error, someone knows why it can be?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: morlak on July 14, 2024, 09:29:07 PM
hello already install this project, but style can't load, can u help me about this  trouble, 
maybe I need to look at the style connections ?
(https://i.ibb.co/q0Tk5Cq/Screenshot-971.png) (https://imgbb.com/)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 14, 2024, 11:41:34 PM
Hi, I would like to thanks, the acm is great!.
If someone can give it to me a hand, I'm trying to set a Smtp mail, I write my credentials, but when I use it say cannot send a mail, or it just give error, someone knows why it can be?

Creating a smtp server is hard and there is no need for you to host one. There are so many smtp services out there. Try out mailjet.com. They offer you a free smtp service for up to 200 emails per day.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 14, 2024, 11:42:58 PM
hello already install this project, but style can't load, can u help me about this  trouble, 
maybe I need to look at the style connections ?
(https://i.ibb.co/q0Tk5Cq/Screenshot-971.png) (https://imgbb.com/)

Open your Chrone's console by pressing F12. In the console tab you will probably see a bunch of 404 errors. Check the links of the missing files. You probably changed something inside .env.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: morlak on July 15, 2024, 12:44:39 AM
Open your Chrone's console by pressing F12. In the console tab you will probably see a bunch of 404 errors. Check the links of the missing files. You probably changed something inside .env.

Thanks for the answer, I see error im try to fix it)  you really help me) I'm just junior developer)  (https://i.ibb.co/BV2cyBF/Screenshot-972.png)
https://youtu.be/SOfHpC95sHk
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: midnight on July 15, 2024, 09:53:09 AM
Creating a smtp server is hard and there is no need for you to host one. There are so many smtp services out there. Try out mailjet.com. They offer you a free smtp service for up to 200 emails per day.

Thanks for your reply, appreciate it. Yes, I'm using a service from freehosting.com, but is not sending mails.
update,just founded the issue, the host it was different to connect trough php mail.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: midnight on July 24, 2024, 08:53:23 AM
would be possible to add an extra security layer to connect a server, something like 4game has that need to update your ip address to be able connect to the game?
Kind regards!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: morlak on July 24, 2024, 12:01:27 PM
good afternoon gentlemen, I have encountered a problem, I can’t switch languages ​​on the xampp server, but if I have separate Visual code on the local server, I switch languages, I also send a video with the console.
https://youtu.be/1y1NEbGoVS0?si=qjuVHvaevJaCF9ls
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 25, 2024, 12:43:36 AM
good afternoon gentlemen, I have encountered a problem, I can’t switch languages ​​on the xampp server, but if I have separate Visual code on the local server, I switch languages, I also send a video with the console.
https://youtu.be/1y1NEbGoVS0?si=qjuVHvaevJaCF9ls

You need to have the gettext extention enabled inside your php.ini file. Uncomment the line "extension=gettext"

Also, you must have this language pack installed in Windows. If you wish to enable Russian, your Windows must have the Russian language pack installed.

Gettext is best used in Linux.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 25, 2024, 12:44:18 AM
would be possible to add an extra security layer to connect a server, something like 4game has that need to update your ip address to be able connect to the game?
Kind regards!

I have never played at 4game. Could you explain how it works?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: midnight on July 25, 2024, 10:27:30 AM
I have never played at 4game. Could you explain how it works?
when I log in to 4game, if my router has restarted in any point and changed ip, or if I play from a new location, like a friend house, it will let me know I'm connecting from a new location and they will allow me to remember that location, after accept to send me the confirmation email I will be able to login within the game, that's good if there is someone that got any account details as they will need the ip-address matching with the server, and will prevent them to log in without accept the email confirmation.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: morlak on July 25, 2024, 11:11:50 AM
You need to have the gettext extention enabled inside your php.ini file. Uncomment the line "extension=gettext"

Also, you must have this language pack installed in Windows. If you wish to enable Russian, your Windows must have the Russian language pack installed.

Gettext is best used in Linux.

thanks for the answer, php.ini extension=gettext was uncommented, the English and Russian language packs are installed, but still does not switch languages  :'(
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 25, 2024, 02:02:23 PM
when I log in to 4game, if my router has restarted in any point and changed ip, or if I play from a new location, like a friend house, it will let me know I'm connecting from a new location and they will allow me to remember that location, after accept to send me the confirmation email I will be able to login within the game, that's good if there is someone that got any account details as they will need the ip-address matching with the server, and will prevent them to log in without accept the email confirmation.

This could be possible, but I'm not sure if people will use it. Also, adding this on the ACM is one thing. It should also be added to your loginserver. The ACM does not include any functionalities that require this kind of security. Even if someone logins with your account, he will unstuck your character.

thanks for the answer, php.ini extension=gettext was uncommented, the English and Russian language packs are installed, but still does not switch languages  :'(

It's a known bug on Windows, I'm not sure how to reproduce it. I will create a separate version that uses PHP files for translations instead of gettext. Stay tuned.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: midnight on July 25, 2024, 02:31:56 PM
I will check how I will add to the login server, could you give to me a hand when it's ready to add to your acm if possible?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on July 25, 2024, 03:37:55 PM
I will check how I will add to the login server, could you give to me a hand when it's ready to add to your acm if possible?

Unfortunately, I won't implement this change to the ACM. This isn't something that most people would use.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: morlak on July 25, 2024, 03:53:17 PM

It's a known bug on Windows, I'm not sure how to reproduce it. I will create a separate version that uses PHP files for translations instead of gettext. Stay tuned.
Thanks a lot
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: quir0 on July 31, 2024, 07:17:23 PM
Oh my... Look at this beauty!

I'm not an expert in this and I dont have anything to report/help with but I just want to thank you @G-hamsteR for what you have done!!

I don't have a server yet, still in configurations in-game, but when I finish it and build a webpage, I'm sure that I'll use your AMC

Again, 1kkk of Thanks!!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on August 25, 2024, 07:48:39 PM
Hello guys, past couple days fighting with this ACM no idea what's wrong, everything went smoothly but getting 404 any ideas?

(https://i.postimg.cc/52CrDJzF/Untitled.jpg)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on August 25, 2024, 10:56:07 PM
Hello guys, past couple days fighting with this ACM no idea what's wrong, everything went smoothly but getting 404 any ideas?

(https://i.postimg.cc/52CrDJzF/Untitled.jpg)

Looks like your webserver is actually trying to find the /en/public folder. It could be related to many things. Make sure you follow the steps involved in the guide, paying extra attention to the vhosts configuration and .env configuration.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on August 26, 2024, 09:44:21 AM
httpd-vhosts.conf

<VirtualHost *:80>
    DocumentRoot "C:/Web Server/Apache24/htdocs/public"
    ServerName localhost
    <Directory "C:/Web Server/Apache24/htdocs/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

.env

Url settings
APP_NAME='L2jMobius CT0'
APP_SCHEME='http'
APP_DOMAIN='localhost'
APP_CDN="${APP_DOMAIN}/assets"
DEMO_MODE=false

#Server settings
LOGIN_HOST='localhost'
LOGIN_PORT='2106'
GAME_HOST='localhost'
GAME_PORT='7777'

#Loginserver Database settings
DB_HOST='localhost'
DB_USER='root'
DB_PASS='My_Pass'
DB_NAME='L2jmobius'

#Gameserver Database settings
DB_GAME_HOST='localhost'
DB_GAME_USER='root'
DB_GAME_PASS='My_Pass'
DB_GAME_NAME='L2jmobius'

#Stripe settings
STRIPE_SECRET_KEY="sk_test_51MXXXE8gWs235K0ZfzWrsR75dVPUTU3Iux7ngNmFXX7j4AQ5JcQsXsC83TkpxCdzWcX9nZa001r4uJELT"

All extensions enabled, hosting my website no issues apache, php, mysql  clean and working perfectly no syntax errors. After G-hamsteR post tried chrome, firefox, edge all forcing through EN directory which doesn't exist.

Is well tried isolate in separate folder with different names is well ''l2jmobius-acm'' same sh*t..

Any other ideas? Thanks in advance!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on August 26, 2024, 07:41:29 PM
Can you also share your .htaccess with us? Your other files seem correct.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: darkillust on October 19, 2024, 04:52:45 PM
can be add a qrcode in donate strip or usdt
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: BazookaRpm on December 24, 2024, 09:17:54 PM
Good afternoon, query, I have my website designed and ready to put online, where I want to place the acm separately, but I have some errors.

First of all, is that possible, from my website "registration button" redirect to the acm to have it as a panel?

This is in xaamp, I followed the steps in the guide, but I still get an error.

I wish there was a video tutorial.

Is there support? or someone provides advisory services.

Thanks
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on December 28, 2024, 05:55:28 PM
Good afternoon, query, I have my website designed and ready to put online, where I want to place the acm separately, but I have some errors.

First of all, is that possible, from my website "registration button" redirect to the acm to have it as a panel?

This is in xaamp, I followed the steps in the guide, but I still get an error.

I wish there was a video tutorial.

Is there support? or someone provides advisory services.

Thanks

Hello,

Could you provide your error details?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on January 27, 2025, 02:55:01 PM
How to enable features in this CMS?

After logging into CMS I can see only change pas and email nothing else. Or I did something wrong?

Thank you for the help!

(https://i.postimg.cc/w1bmF6QH/Untitled.jpg) (https://postimg.cc/w1bmF6QH)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on January 27, 2025, 03:23:35 PM
Give that account access level 100.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on January 27, 2025, 03:27:50 PM
Give that account access level 100.

Thank you, acc was set on 1 only char on 100.. Stupid me  ;D
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on January 28, 2025, 12:23:05 PM
Hello again, encountered another issue after purchasing 'Item' from ACM it doesn't appear in game (in character inventor). Where is no errors I checked tables everything looks good.

Maybe someone knows where an issue could be?

Thank you in advance! 
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on January 28, 2025, 04:16:52 PM
CustomMailManagerEnabled ?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on January 28, 2025, 04:25:22 PM
CustomMailManagerEnabled ?

wow, I'm digging through ACM from the morning trying to find out the issue I didn't even imagine that problem been in server configs..

Thank you again!

Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 28, 2025, 05:26:41 PM
I added this information to the faq.md. Thank you!

https://gitlab.com/nick_anto/l2jmobius-acm/-/blob/main/docs/faq.md
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on January 30, 2025, 03:42:10 PM
Where can I change background color for this? I think I tried to change all possible inputs where white color is present in style CSS but could not find it.


(https://i.postimg.cc/LYp64P4v/Untitled.jpg) (https://postimg.cc/LYp64P4v)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on January 30, 2025, 05:13:01 PM
You can change them from style.css.

Inspect the element from your browser and make sure your styles are applied. Make sure that there is no cache. Use Ctrl-F5 to clear browser cache. If you are using Cloudflare or other CDN services, make sure the style.css is not cached. Add a prefix to it, like style.css?v=1. You can do this at helpers/templates.php

eg
Code: [Select]
<link rel="stylesheet" href="'.$cdnURL.'/css/style.css?v=1">
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: sfinxas on February 01, 2025, 12:57:14 PM
You can change them from style.css.

Inspect the element from your browser and make sure your styles are applied. Make sure that there is no cache. Use Ctrl-F5 to clear browser cache. If you are using Cloudflare or other CDN services, make sure the style.css is not cached. Add a prefix to it, like style.css?v=1. You can do this at helpers/templates.php

eg
Code: [Select]
<link rel="stylesheet" href="'.$cdnURL.'/css/style.css?v=1">

I solved it.

Thank you again!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Puppyrawr on March 01, 2025, 10:33:09 PM
Well, theres someone who can help me add my subdomain from hostinger (i add cloudflare nameservers) redirect to xampp localhost to use the ACM ? on server machine its working but i cant make it work from externals ips..

Im not familiar with sites and stuff like that!
Thanks in Advance!
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: diogojdm on August 13, 2025, 05:20:17 PM
(https://i.imgur.com/MSQbERx.png)

Code: [Select]
C:\xampp\htdocs\acc>composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 0 updates, 0 removals
  - Locking graham-campbell/result-type (v1.1.3)
  - Locking michelf/php-markdown (2.0.0)
  - Locking phpmailer/phpmailer (v6.10.0)
  - Locking phpoption/phpoption (1.9.3)
  - Locking stripe/stripe-php (v13.18.0)
  - Locking symfony/polyfill-ctype (v1.32.0)
  - Locking symfony/polyfill-mbstring (v1.32.0)
  - Locking symfony/polyfill-php80 (v1.32.0)
  - Locking vlucas/phpdotenv (v5.6.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
  - Installing michelf/php-markdown (2.0.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing phpmailer/phpmailer (v6.10.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing stripe/stripe-php (v13.18.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
  - Installing phpoption/phpoption (1.9.3): Extracting archive
  - Installing graham-campbell/result-type (v1.1.3): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.2): Extracting archive
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
7 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

Quote
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/acc/public"
    ServerName localhost
    <Directory "C:/xampp/htdocs/acc/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>


Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on August 18, 2025, 09:27:20 AM
The css/js files are not loaded. Make sure your .htaccess file works. Check the websiet's source code (Alt + U) and try to open any .css url. It will probably lead to a 404 error.

(https://i.imgur.com/MSQbERx.png)

Code: [Select]
C:\xampp\htdocs\acc>composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 0 updates, 0 removals
  - Locking graham-campbell/result-type (v1.1.3)
  - Locking michelf/php-markdown (2.0.0)
  - Locking phpmailer/phpmailer (v6.10.0)
  - Locking phpoption/phpoption (1.9.3)
  - Locking stripe/stripe-php (v13.18.0)
  - Locking symfony/polyfill-ctype (v1.32.0)
  - Locking symfony/polyfill-mbstring (v1.32.0)
  - Locking symfony/polyfill-php80 (v1.32.0)
  - Locking vlucas/phpdotenv (v5.6.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
  - Installing michelf/php-markdown (2.0.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing phpmailer/phpmailer (v6.10.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing stripe/stripe-php (v13.18.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
  - Installing phpoption/phpoption (1.9.3): Extracting archive
  - Installing graham-campbell/result-type (v1.1.3): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.2): Extracting archive
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
7 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on October 10, 2025, 09:13:52 PM

Did you remove the pt_BR translation from the project or just from the demo?

By the way, is the project currently active?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on October 10, 2025, 10:58:36 PM

By the way, is the project currently active?

Yes, I made significant improvements a while ago.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on October 11, 2025, 01:23:04 AM
Good, I'll install it here again, to fix inconsistencies/additions in the pt_br translation and try to contribute with other things that are needed...
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on October 11, 2025, 09:16:07 AM
Did you remove the pt_BR translation from the project or just from the demo?

By the way, is the project currently active?

The pt_BR translations are there. They are probably not included in the demo.

https://gitlab.com/nick_anto/l2jmobius-acm/-/tree/main/locale/pt_BR/LC_MESSAGES?ref_type=heads
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: osminog93 on November 09, 2025, 10:55:07 AM
I installed ACM on my website and Balances is decreases and it says "You will receive your items in-game shortly." but problem is i dont get any items on my character when i donate. What is system of give item when donate is finished and what is code? Where to find this code, is it code in gameserver or where?
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Skache on November 09, 2025, 02:01:08 PM
You need to enable CustomMailManager

CustomMailManagerEnabled = True
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Galagard on November 09, 2025, 06:36:17 PM
Any chance to move the project to Wordpress?


If so, I can help with the migration.


Advantages (in my opinion):


Modular
Themes
AdminCP (Separate from the page)
UserCP (On a separate page in the front-end)
Plug-ins to enhance ACM functions
RestAPI (integration with GameServer to expose all classes to view inventory, manage inventory, send items, boss list, skill list, clan management (if you have a DKP system or similar) a lot of things can be done with an API that exposes endpoints correctly)
Security (WordPress is not insecure, a bad installation makes it insecure)


Probably the only downside is that, depending on the plugins the person uses or the modifications they make directly to the code (which is not recommended), it opens security vulnerabilities. Aside from that... I think it's a good idea if done well and well maintained; security is also a strong point.

If's not "i want to mantain project as is" it's ok too...

It was just an idea... when I install this ACM to use on my server, contributions in this regard (exposing the gameserver a bit more) will come.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: osminog93 on November 10, 2025, 11:11:24 AM
You need to enable CustomMailManager

CustomMailManagerEnabled = True

Where to find CustomMailManager?
I dont have it in JAVA

Should i implement this code in JAVA?

https://gitlab.com/-/snippets/3644316
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on November 10, 2025, 09:48:26 PM
Where to find CustomMailManager?
I dont have it in JAVA

Should i implement this code in JAVA?

https://gitlab.com/-/snippets/3644316

The gitlab snippet is neccessary only of you want to use the task manager. This allows you to perform some server tasks, like server restart.

The custom mail manager is required to send in-game items to players. It's built-in in all l2jmobius versions. You don't need any java, just find it in the configs.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on November 10, 2025, 09:50:25 PM
Wordpress has nothing to offer in this case. You can't take advantage of any of its plugins, or even its base structure.

Any chance to move the project to Wordpress?


If so, I can help with the migration.


Advantages (in my opinion):


Modular
Themes
AdminCP (Separate from the page)
UserCP (On a separate page in the front-end)
Plug-ins to enhance ACM functions
RestAPI (integration with GameServer to expose all classes to view inventory, manage inventory, send items, boss list, skill list, clan management (if you have a DKP system or similar) a lot of things can be done with an API that exposes endpoints correctly)
Security (WordPress is not insecure, a bad installation makes it insecure)


Probably the only downside is that, depending on the plugins the person uses or the modifications they make directly to the code (which is not recommended), it opens security vulnerabilities. Aside from that... I think it's a good idea if done well and well maintained; security is also a strong point.

If's not "i want to mantain project as is" it's ok too...

It was just an idea... when I install this ACM to use on my server, contributions in this regard (exposing the gameserver a bit more) will come.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Naker on November 20, 2025, 05:16:25 PM
Just to let you know on debian guide
point 6 have errors is typed
Code: [Select]
apt install gettext
pt install php8.2-getttext

and should be
Code: [Select]
apt install gettext
apt install php8.2-gettext
missing a and extra t
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on November 20, 2025, 05:22:52 PM
Just to let you know on debian guide
point 6 have errors is typed
Code: [Select]
apt install gettext
pt install php8.2-getttext

and should be
Code: [Select]
apt install gettext
apt install php8.2-gettext
missing a and extra t

Thank you for the information. Fixed with the latest commit.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: bOOOgz on November 21, 2025, 05:53:41 PM
I'm trying to install on Ubuntu 22.04. Everything goes fine until I get to the Nginx configuration.

I'm doing it like this:

bash
sudo nano /etc/nginx/sites-available/l2server
Then:

bash
sudo ln -s /etc/nginx/sites-available/l2server /etc/nginx/sites-enabled/
I don't have a domain name yet, so I'm using my IP address: 194.87.118.218

In my Nginx config I have:

nginx
server_name 194.87.118.218;
root /var/www/l2jmobius-acm/public;
Then in the configuration file /var/www/l2jmobius-acm/.env:

env
#Url settings
APP_NAME='L2jMobius CT0'
APP_SCHEME='http'
APP_DOMAIN='194.87.118.218'
APP_CDN="${APP_DOMAIN}/assets"
DEMO_MODE=false
But it's not working for me. The site is still unavailable.

(https://i.postimg.cc/Ny3pYnF3/6AAF487A-2B52-4D4B-B426-BB38B11867FC.png) (https://postimg.cc/Ny3pYnF3)
(https://i.postimg.cc/94gCVM8Z/900CC792-CBD4-47DB-89D3-1412188416F4.png) (https://postimg.cc/94gCVM8Z)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on November 26, 2025, 10:46:29 AM
I'm trying to install on Ubuntu 22.04. Everything goes fine until I get to the Nginx configuration.

I'm doing it like this:

bash
sudo nano /etc/nginx/sites-available/l2server
Then:

bash
sudo ln -s /etc/nginx/sites-available/l2server /etc/nginx/sites-enabled/
I don't have a domain name yet, so I'm using my IP address: 194.87.118.218

In my Nginx config I have:

nginx
server_name 194.87.118.218;
root /var/www/l2jmobius-acm/public;
Then in the configuration file /var/www/l2jmobius-acm/.env:

env
#Url settings
APP_NAME='L2jMobius CT0'
APP_SCHEME='http'
APP_DOMAIN='194.87.118.218'
APP_CDN="${APP_DOMAIN}/assets"
DEMO_MODE=false
But it's not working for me. The site is still unavailable.

(https://i.postimg.cc/Ny3pYnF3/6AAF487A-2B52-4D4B-B426-BB38B11867FC.png) (https://postimg.cc/Ny3pYnF3)
(https://i.postimg.cc/94gCVM8Z/900CC792-CBD4-47DB-89D3-1412188416F4.png) (https://postimg.cc/94gCVM8Z)

Instead of server_name 194.87.118.218;, try server_name default_server;

if this doesn't work, try adding a random domain and change your hosts files to point it to your IP.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: yoko on December 09, 2025, 09:10:45 PM
I can't figure out how to install it. I uploaded it to the hosting. What should I do to make it work?
(https://i.ibb.co/JW2rBWWh/screenshot-20251209-220812.png)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on December 10, 2025, 09:53:58 PM
I can't figure out how to install it. I uploaded it to the hosting. What should I do to make it work?
(https://i.ibb.co/JW2rBWWh/screenshot-20251209-220812.png)

I can't help you with your specific hosting provider. There are few requirements, like php version 8+, composer, getext, etc.

There are guides available for Windows and Linux machines. You can find them in the repository.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: yoko on December 24, 2025, 03:17:01 PM
the vendor. folder is missing from the directory. Where can I get it?
(https://i.ibb.co/Lh9JpSWB/24-12-2025-161415.jpg)
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: yoko on December 24, 2025, 03:22:02 PM
It's working. Thank you. I had to run composer update
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: Robotukas5 on April 09, 2026, 05:42:30 PM
Hello,

In paypal.php (IPN webhook), txn_id is checked:

SELECT COUNT(*) FROM acm_donations WHERE tnx_id = ?

but I cannot find where tnx_id is actually saved to the database.

The update only sets:
status = 1
date_paid = ...

Because of this, it looks like the duplicate protection might not work as intended, since txn_id is never stored after a successful payment.

Is txn_id supposed to be saved somewhere else, or is this a missing part of the implementation?

Thanks.
Title: Re: Introducing L2JMobius ACM: An Account Management and Donations Panel
Post by: G-hamsteR on April 17, 2026, 08:39:25 PM
Hello,

In paypal.php (IPN webhook), txn_id is checked:

SELECT COUNT(*) FROM acm_donations WHERE tnx_id = ?

but I cannot find where tnx_id is actually saved to the database.

The update only sets:
status = 1
date_paid = ...

Because of this, it looks like the duplicate protection might not work as intended, since txn_id is never stored after a successful payment.

Is txn_id supposed to be saved somewhere else, or is this a missing part of the implementation?

Thanks.

tnx_id should be stored at the acm_donations table. This is the sql schema:

Code: [Select]
CREATE TABLE `acm_donations` (
`id` int UNSIGNED NOT NULL,
`char_id` int UNSIGNED DEFAULT NULL,
`char_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`account_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`date_paid` datetime DEFAULT NULL,
`donation_id` int UNSIGNED DEFAULT NULL,
`item_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`payment_method` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`price` decimal(10,2) DEFAULT NULL,
`status` tinyint(1) DEFAULT \'0\',
`payment_hash` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`item_id_to_give` int UNSIGNED DEFAULT NULL,
`quantity_to_give` int UNSIGNED DEFAULT NULL,
`tnx_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `acm_donations`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `tnx_id` (`tnx_id`);
ALTER TABLE `acm_donations`
MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;


EDIT: You were right. I made a new commit with the fix.