Translation for convenience only. This English text is provided for your convenience. The Spanish version is the legally binding one and prevails in case of any discrepancy.

1. What are cookies?

Cookies are small text files that a website places on your device when you visit it. They make it possible to remember information between pages and visits. Alongside cookies, Kingdom Defense uses localStorage, a local browser storage mechanism with a similar function but without an automatic expiration date.

2. Cookies used by Kingdom Defense

We do not use advertising cookies or third-party tracking. We only use what is strictly necessary:

Name Type Duration Purpose
PHPSESSID Session Until the browser is closed Keeps you logged in while you browse the game. Without this cookie you would have to log in on every page.
REMEMBERME Persistent 7 days Enables the "Remember me" option so that you do not have to log in every time you open the game. It is only created if you tick that box.
_csrf_token Session Until the browser is closed Anti-CSRF security token that protects the login forms and game actions against request forgery attacks.

3. Local storage (localStorage)

In addition to cookies, we store the following in your browser's localStorage:

Key Purpose
kd_cookies_accepted Records that you have accepted this policy so that the cookie notice is not shown on every visit. It does not expire, but you can delete it from your browser settings.
kd_locale Remembers the language in which you view the website and the game (Spanish or English) when your account does not have one chosen yet. It does not expire, but you can delete it from your browser settings.
kd_userId / kd_jwt Session identifiers for the mobile/PWA version, when access is through the REST API with JWT instead of the usual PHP session.

4. Third-party cookies

Google Fonts is used for the typography of the home page. The font is loaded from Google's servers, so Google may log the request. See the Google Privacy Policy.

5. How to manage cookies

You can control and delete cookies from your browser settings. Please note that disabling session cookies (PHPSESSID or _csrf_token) will prevent you from logging in to the game.

Instructions for the most common browsers:

To clear localStorage, open your browser's developer tools (F12), go to the Application / Storage tab and delete the Kingdom Defense entries.

6. Consent

Session and security cookies (PHPSESSID, _csrf_token) are technically necessary for the service to work and do not require consent under current regulations (Spanish Law 34/2002 (LSSI-CE) and the ePrivacy Directive). The remember-me cookie (REMEMBERME) is only created if you expressly enable the "Remember me" option.

The cookie banner shown on your first visit informs you of this use and allows your agreement to be recorded via localStorage. You can revoke that consent at any time by deleting the kd_cookies_accepted key from your browser.

7. Changes to this policy

If we add new cookies or local storage, we will update this page and announce it through the cookie notice.

8. Contact

For any questions about the use of cookies, write to us at kingdomdefense@gmail.com.