-
-
Notifications
You must be signed in to change notification settings - Fork 312
FAQs
Here you can find a list of frequently asked questions and their answers.
One possibility is that you've installed NamelessMC within a subdirectory. A requirement for the package to function is that the files are installed directly into your root directory, or you use a subdomain to point to the subdirectory.
If this is not the case, you will need to modify your server configuration to enable the use of .htaccess files and also Apache's mod_rewrite module.
Usually this occurs if you are running Apache on Ubuntu/Debian, in which case the following should resolve your issue:
- Edit /etc/apache2/sites-available/000-default.conf (or whichever conf file corresponds to your Nameless installation)
- Before the bottom
</VirtualHost>
, add (but replace /var/www/html with the directory Nameless is installed in):
<Directory /var/www/html>
AllowOverride All
</Directory>
- Save and exit the file
- Type
sudo a2enmod rewrite
to enable Apache's rewrite module - Type
sudo service apache2 restart
to restart Apache
Finally, ensure a file named ".htaccess" exists in your web server's root directory containing these rules.
You need to make sure your nginx configuration file matches the example configuration file provided by Nameless.
The NamelessMC plugin is still a work in progress, but there is a pre release to download. If there is any bugs report them here. The plugin currently supports spigot and bungeecord, NOT Bukkit. Download here
Nameless will try to use PHP's mail function by default, however if this doesn't work there are a few alternatives available.
The first is to install sendmail (for example, sudo apt-get install sendmail and then sudo sendmailconfig on Ubuntu), and then configure PHP to use this (see the "Configuring PHP mail() function" section of this page, Ubuntu).
The second is to configure Nameless to use either an SMTP server or Gmail. If you want to use SMTP, try the steps in this post, and if you want to use Gmail try these steps instead. After completing either of these, you need to head into the AdminCP -> Core -> Email and disable the "Use PHP mail() function?".
Finally, you can disable email verification altogether by disabling "Enable email account verification?" in the AdminCP -> Core -> Email tab, although this isn't recommended as it could effectively mean users can register with any email address.
This is usually caused by the cache folder within the web root (and its subdirectories) not being writable. You will need to modify the permissions recursively of the folder so the process running PHP can write to it.
An example command for Apache on Ubuntu is
sudo chown -R www-data:www-data /var/www/html/cache
If you need further help, feel free to join our Discord server for support 😃